函数逻辑报告 |
Source Code:mm\usercopy.c |
Create Date:2022-07-27 18:11:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Checks if a given pointer and length is contained by the current* stack frame (if possible)
函数原型:static noinline int check_stack_object(const void *obj, unsigned long len)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const void * | obj | |
| unsigned long | len |
| 36 | stack等于task_stack_page(当前进程) |
| 37 | stackend等于stack加THREAD_SIZE |
| 53 | ret等于Walks up the stack frames to make sure that the specified object is* entirely contained by a single stack frame |
| 57 | 返回:GOOD_STACK |
| 名称 | 描述 |
|---|---|
| __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 插件可实现:逻辑报告 代码生成和批量转换代码 |