函数逻辑报告 |
Source Code:mm\kasan\report.c |
Create Date:2022-07-27 17:26:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:describe_object_addr
函数原型:static void describe_object_addr(struct kmem_cache *cache, void *object, const void *addr)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kmem_cache * | cache | |
| void * | object | |
| const void * | addr |
| 125 | access_addr等于addr |
| 126 | object_addr等于object |
| 130 | 打印错误信息("The buggy address belongs to the object at %px\n which belongs to the cache %s of size %d\n", object, Name (only for display!) , The size of an object without metadata ) |
| 134 | 如果非addr则返回 |
| 137 | 如果access_addr小于object_addr则 |
| 138 | rel_type等于"to the left" |
| 140 | 否则如果access_addr大于等于object_addr加The size of an object without metadata 则 |
| 141 | rel_type等于"to the right" |
| 143 | 否则 |
| 144 | rel_type等于"inside" |
| 148 | 打印错误信息("The buggy address is located %d bytes %s of\n %d-byte region [%px, %px)\n", rel_bytes, rel_type, The size of an object without metadata , (void * )object_addr, (void * )(object_addr + The size of an object without metadata )) |
| 名称 | 描述 |
|---|---|
| describe_object |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |