函数逻辑报告 |
Source Code:mm\usercopy.c |
Create Date:2022-07-27 18:11:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:usercopy_abort
函数原型:void __noreturn usercopy_abort(const char *name, const char *detail, bool to_user, unsigned long offset, unsigned long len)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | name | |
const char * | detail | |
bool | to_user | |
unsigned long | offset | |
unsigned long | len |
87 | These can be used to print at the various log levels.* All of these will print unconditionally, although note that pr_debug()* and other debug macros are compiled out unless either DEBUG is defined* or CONFIG_DYNAMIC_DEBUG is set.("Kernel memory %s attempt detected %s %s%s%s%s (offset %lu, size %lu)!\n", to_user ? "exposure" : "overwrite", to_user ? "from" : "to", name ? : "unknown?!", detail ? " '" : "", detail ? : "", detail ? "'" : "", offset, len) |
99 | BUG() |
名称 | 描述 |
---|---|
check_kernel_text_object | Is this address range in the kernel text area? |
check_bogus_address | |
__check_object_size | Validates that the given object is:* - not bogus address* - fully contained by stack (or stack frame, when available)* - fully within SLAB object (or object whitelist area, when available)* - not in kernel text |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |