函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:09:01 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:verbose_linfo
函数原型:__printf(3, 4) static void verbose_linfo(struct bpf_verifier_env *env, u32 insn_off, const char *prefix_fmt, ...)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_verifier_env * | env | |
u32 | insn_off | |
const char * | prefix_fmt |
343 | 如果非bpf_verifier_log_needed( & log)则返回 |
346 | linfo等于find_linfo(env, insn_off) |
347 | 如果非linfo或linfo恒等于prev_linfo则返回 |
350 | 如果prefix_fmt则 |
362 | prev_linfo等于linfo |
名称 | 描述 |
---|---|
check_stack_write | heck_stack_read/write functions track spill/fill of registers,* stack boundary and alignment are checked in check_mem_access() |
check_stack_read | |
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 && |
push_insn | , w, e - match pseudo-code above: |
is_state_visited | |
do_check |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |