函数逻辑报告 |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-27 14:17:24 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns true if (rold safe implies rcur safe)
函数原型:static bool regsafe(struct bpf_reg_state *rold, struct bpf_reg_state *rcur, struct idpair *idmap)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bpf_reg_state * | rold | |
struct bpf_reg_state * | rcur | |
struct idpair * | idmap |
7086 | 如果非live按位与REG_LIVE_READ的值则返回:true |
7098 | 如果equal则返回:true |
7101 | 如果 Ordering of fields matters. See states_equal() 恒等于hing was written into register 则返回:true |
7104 | 如果 Ordering of fields matters. See states_equal() 恒等于hing was written into register 则返回:false |
7114 | 否则 |
7122 | 返回:false |
7144 | 如果 Ordering of fields matters. See states_equal() 不等于points to map elem value or NULL 则返回:false |
7146 | 如果内存比较则返回:false |
7152 | 如果 Ordering of fields matters. See states_equal() 不等于 Ordering of fields matters. See states_equal() 则返回:false |
7160 | 如果 valid when type == PTR_TO_PACKET 大于 valid when type == PTR_TO_PACKET 则返回:false |
7165 | 如果 Fixed part of pointer offset, pointer types only 不等于 Fixed part of pointer offset, pointer types only 则返回:false |
7187 | 默认 |
7189 | 返回:false |
7193 | WARN_ON_ONCE(1) |
7194 | 返回:false |
名称 | 描述 |
---|---|
stacksafe | |
func_states_equal | mpare two verifier states* all states stored in state_list are known to be valid, since* verifier reached 'bpf_exit' instruction through them* this function is called when verifier exploring different branches of* execution popped from the state stack |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |