函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:17:42 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:d precise scalars in the previous equivalent state and* propagate them into the current state
函数原型:static int propagate_precision(struct bpf_verifier_env *env, const struct bpf_verifier_state *old)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env | |
const struct bpf_verifier_state * | old |
7442 | err等于0 |
7444 | state等于 call stack tracking [curframe] |
7446 | 以i小于BPF_REG_FP循环 |
7447 | 如果 Ordering of fields matters. See states_equal() 不等于g doesn't contain a valid pointer 或非 if (!precise && SCALAR_VALUE) min/max/tnum don't affect safety 则继续下一循环 |
7450 | 如果level按位与BPF_LOG_LEVEL2则verbose(env, "propagating r%d\n", i) |
7452 | err等于mark_chain_precision(env, i) |
7458 | 如果slot_type[0]不等于 register spilled into stack 则继续下一循环 |
7460 | state_reg等于spilled_ptr |
7461 | 如果 Ordering of fields matters. See states_equal() 不等于g doesn't contain a valid pointer 或非 if (!precise && SCALAR_VALUE) min/max/tnum don't affect safety 则继续下一循环 |
7464 | 如果level按位与BPF_LOG_LEVEL2则verbose(env, "propagating fp%d\n", ( - i - 1) * size of eBPF register in bytes ) |
7467 | err等于mark_chain_precision_stack(env, i) |
7471 | 返回:0 |
名称 | 描述 |
---|---|
is_state_visited |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |