函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:18:47 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:single env->prog->insni[off] instruction was replaced with the range* insni[off, off + cnt). Adjust corresponding insn_aux_data by copying* [0, off) and [off, end) to new locations, so the patched range stays zero
函数原型:static int adjust_insn_aux_data(struct bpf_verifier_env *env, struct bpf_prog *new_prog, u32 off, u32 cnt)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env | |
struct bpf_prog * | new_prog | |
u32 | off | |
u32 | cnt |
8353 | 如果cnt恒等于1则返回:0 |
8355 | prog_len等于 Number of filter blocks |
8361 | 内存复制(new_data + off + cnt - 1, old_data + off, sizeof(structbpf_insn_aux_data) * (prog_len - off - cnt + 1)) |
8364 | this insn was processed by the verifier = true |
8367 | array of per-insn state 等于new_data |
8369 | 返回:0 |
名称 | 描述 |
---|---|
bpf_patch_insn_data |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |