函数逻辑报告 |
Source Code:arch\x86\include\asm\uaccess.h |
Create Date:2022-07-27 06:58:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Test whether a block of memory is a valid user space address.* Returns 0 if the range is valid, nonzero otherwise.
函数原型:static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | addr | |
unsigned long | size | |
unsigned long | limit |
52 | 如果__builtin_constant_p(size)则返回:此条件成立可能性小(为编译器优化)(addr > limit - size) |
57 | 如果此条件成立可能性小(为编译器优化)(addr < size)则返回:true |
59 | 返回:此条件成立可能性小(为编译器优化)(addr > limit) |
名称 | 描述 |
---|---|
show_opcodes | There are a couple of reasons for the 2/3rd prologue, courtesy of Linus:* In case where we don't have the exact kernel image (which, if we did, we can* simply disassemble and navigate to the RIP), the purpose of the bigger* prologue is to have more |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |