函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:56:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:paint_ptr
函数原型:static void paint_ptr(unsigned long ptr, int color)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | ptr | |
int | color |
752 | 如果非object则 |
753 | Print a warning and dump the stack trace.("Trying to color unknown object at 0x%08lx as %s\n", ptr, (color == KMEMLEAK_GREY) ? "Grey" : (color == KMEMLEAK_BLACK) ? "Black" : "Unknown") |
757 | 返回 |
名称 | 描述 |
---|---|
make_gray_object | Mark an object permanently as gray-colored so that it can no longer be* reported as a leak. This is used in general to mark a false positive. |
make_black_object | Mark the object as black-colored so that it is ignored from scans and* reporting. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |