函数逻辑报告 |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-27 14:04:04 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:If we're handed a bigger struct than we know of, ensure all the unknown bits* are 0 - i.e. new user-space does not rely on any kernel feature extensions* we don't know about yet.* There is a ToCToU between this function call and the following
函数原型:int bpf_check_uarg_tail_zero(void __user *uaddr, size_t expected_size, size_t actual_size)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
void __user * | uaddr | |
size_t | expected_size | |
size_t | actual_size |
73 | 如果此条件成立可能性小(为编译器优化)(actual_size > PAGE_SIZE)则返回:负E2BIG |
79 | 如果actual_size小于等于expected_size则返回:0 |
82 | addr等于uaddr加expected_size |
83 | end等于uaddr加actual_size |
93 | 返回:0 |
名称 | 描述 |
---|---|
bpf_prog_get_info_by_fd | |
bpf_map_get_info_by_fd | |
bpf_btf_get_info_by_fd | |
check_btf_func | |
check_btf_line |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |