函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:09:31 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Acquire a pointer id from the env and update the state->refs to include* this new pointer reference.* On success, returns a valid pointer id to associate with the register* On failure, returns a negative errno.
函数原型:static int acquire_reference_state(struct bpf_verifier_env *env, int insn_idx)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env | |
int | insn_idx |
684 | id等于used to generate unique reg IDs 先自加 |
685 | Track each reference created with a unique id, even if the same * instruction creates the reference multiple times (eg, via CALL).等于id |
686 | Instruction where the allocation of this reference occurred. This * is used purely to inform the user of a reference leak.等于insn_idx |
688 | 返回:id |
名称 | 描述 |
---|---|
check_helper_call |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |