函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:11:47 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:check_ptr_alignment
函数原型:static int check_ptr_alignment(struct bpf_verifier_env *env, const struct bpf_reg_state *reg, int off, int size, bool strict_alignment_once)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env | |
const struct bpf_reg_state * | reg | |
int | off | |
int | size | |
bool | strict_alignment_once |
2603 | pointer_desc等于"" |
2613 | pointer_desc等于"flow keys " |
2614 | 退出 |
2616 | pointer_desc等于"value " |
2617 | 退出 |
2619 | pointer_desc等于"context " |
2620 | 退出 |
2630 | pointer_desc等于"sock " |
2631 | 退出 |
2633 | pointer_desc等于"sock_common " |
2634 | 退出 |
2636 | pointer_desc等于"tcp_sock " |
2637 | 退出 |
2639 | pointer_desc等于"xdp_sock " |
2640 | 退出 |
2641 | 默认 |
2642 | 退出 |
2644 | 返回:check_generic_ptr_alignment(env, reg, pointer_desc, off, size, strict) |
名称 | 描述 |
---|---|
check_mem_access | heck whether memory at (regno + off) is accessible for t = (read | write)* if t==write, value_regno is a register which value is stored into memory* if t==read, value_regno is a register which will receive the value from memory* if t==write && |
check_func_arg |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |