函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:18:50 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_patch_insn_data
函数原型:static struct bpf_prog *bpf_patch_insn_data(struct bpf_verifier_env *env, u32 off, const struct bpf_insn *patch, u32 len)
返回类型:struct bpf_prog
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env | |
u32 | off | |
const struct bpf_insn * | patch | |
u32 | len |
8392 | 如果是错误则 |
8393 | 如果错误恒等于负ERANGE则verbose(env, "insn %d cannot be patched due to 16-bit range\n", original instruction index ) |
8397 | 返回:NULL |
8401 | adjust_subprog_starts(env, off, len) |
8402 | 返回:new_prog |
名称 | 描述 |
---|---|
opt_subreg_zext_lo32_rnd_hi32 | |
convert_ctx_accesses | vert load instructions that access fields of a context type into a* sequence of instructions that access fields of the underlying structure:* struct __sk_buff -> struct sk_buff* struct bpf_sock_ops -> struct sock |
fixup_bpf_calls | xup insn->imm field of bpf_call instructions* and inline eligible helpers as explicit sequence of BPF instructions* this function is called after eBPF program passed verification |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |