Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:paint_ptr
Proto:static void paint_ptr(unsigned long ptr, int color)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | ptr | |
| int | color |
| 752 | If Not object Then |
| 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 | Return |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |