函数逻辑报告 | 
Source Code:kernel\bpf\verifier.c | 
Create Date:2022-07-27 14:09:26 | 
| Last Modify:2022-05-19 20:02:10 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:alloc_reference_state()
函数原型:static int realloc_reference_state(struct bpf_func_state *state, int size, bool copy_old)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct bpf_func_state * | state | |
| int | size | |
| bool | copy_old | 
| 649 | 如果copy_old则返回:0 | 
| 649 | 返回:0 | 
| 649 | 如果copy_old则 | 
| 649 | 如果refs则gcc 内建函数 需要声明 | 
| 649 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| realloc_func_state | do_check() starts with zero-sized stack in struct bpf_verifier_state to* make it consume minimal amount of memory | 
| acquire_reference_state | Acquire a pointer id from the env and update the state->refs to include* this new pointer reference.* On success, returns a valid pointer id to associate with the register* On failure, returns a negative errno. | 
| transfer_reference_state | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |