函数逻辑报告 |
Source Code:kernel\bpf\core.c |
Create Date:2022-07-27 13:59:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:bpf_patch_insn_single
函数原型:struct bpf_prog *bpf_patch_insn_single(struct bpf_prog *prog, u32 off, const struct bpf_insn *patch, u32 len)
返回类型:struct bpf_prog
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bpf_prog * | prog | |
| u32 | off | |
| const struct bpf_insn * | patch | |
| u32 | len |
| 437 | insn_delta等于len减1 |
| 443 | 如果insn_delta恒等于0则 |
| 455 | 如果insn_adj_cnt大于cnt_max且err等于bpf_adj_branches(prog, off, off + 1, off + len, true)则返回:错误号 |
| 478 | insn_rest等于insn_adj_cnt减off减len |
| 490 | bpf_adj_linfo(prog_adj, off, insn_delta) |
| 492 | 返回:prog_adj |
| 名称 | 描述 |
|---|---|
| bpf_patch_insn_data |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |