函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:09:41 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:copy_verifier_state
函数原型:static int copy_verifier_state(struct bpf_verifier_state *dst_state, const struct bpf_verifier_state *src)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_state * | dst_state | |
const struct bpf_verifier_state * | src |
775 | jmp_sz等于sizeof(structbpf_idx_pair)乘jmp_history_cnt |
778 | 如果jmp_history_cnt小于jmp_history_cnt则 |
779 | kfree( jmp history recorded from first to last. * backtracking is using it to go from last to first. * For most states jmp_history_cnt is [0-3]. * For loops can go up to ~40.) |
789 | free_func_state( call stack tracking [i]) |
790 | call stack tracking [i] = NULL |
792 | speculative等于speculative |
797 | first and last insn idx of this verifier state 等于 first and last insn idx of this verifier state |
800 | dst等于 call stack tracking [i] |
801 | 如果非dst则 |
811 | 返回:0 |
名称 | 描述 |
---|---|
pop_stack | |
push_stack | |
is_state_visited |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |