函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:11:39 |
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__is_pointer_value
函数原型:static bool __is_pointer_value(bool allow_ptr_leaks, const struct bpf_reg_state *reg)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| bool | allow_ptr_leaks | |
| const struct bpf_reg_state * | reg |
| 2494 | 如果allow_ptr_leaks则返回:false |
| 名称 | 描述 |
|---|---|
| is_pointer_value | |
| is_branch_taken | mpute branch direction of the expression "if (reg opcode val) goto target;"* and return:* 1 - branch will be taken and "goto target" will be executed* 0 - branch will not be taken and fall-through to next insn* -1 - unknown |
| reg_set_min_max | Adjusts the register min/max values in the case that the dst_reg is the* variable register that we are working on, and src_reg is a constant or we're* simply doing a BPF_K check.* In JEQ/JNE cases we also adjust the var_off values. |
| reg_set_min_max_inv | Same as above, but for the case that dst_reg holds a constant and src_reg is* the variable reg. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |