函数逻辑报告 |
Source Code:lib\test_bpf.c |
Create Date:2022-07-27 07:24:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_fill_maxinsns10
函数原型:static int bpf_fill_maxinsns10(struct bpf_test *self)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_test * | self |
294 | len等于BPF_MAXINSNS, hlen等于len减2 |
302 | 以i小于hlen除2循环insn[i]等于Conditional jumps against immediates, if (dst_reg 'op' imm32) goto pc + off16 (BPF_JA, 0, 0, hlen - 2 - 2 * i) |
304 | 以i大于hlen除2循环insn[i]等于Conditional jumps against immediates, if (dst_reg 'op' imm32) goto pc + off16 (BPF_JA, 0, 0, hlen - 1 - 2 * i) |
307 | insn[hlen / 2]等于Conditional jumps against immediates, if (dst_reg 'op' imm32) goto pc + off16 (BPF_JA, 0, 0, hlen / 2 - 1) |
308 | insn[hlen]等于BPF_ALU32_IMM(mov reg to reg , Redefine REGs to make tests less verbose , 0xabababac) |
309 | insn[hlen + 1]等于Program exit () |
314 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |