Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Objects are considered unreferenced only if their color is white, they have* not be deleted and have a minimum age to avoid false positives caused by* pointers temporarily stored in CPU registers.
Proto:static bool unreferenced_object(struct kmemleak_object *object)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmemleak_object * | object |
| Name | Describe |
|---|---|
| kmemleak_scan | Scan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held. |
| kmemleak_seq_show | Print the information for an unreferenced object to the seq file. |
| kmemleak_clear | We use grey instead of black to ensure we can do future scans on the same* objects. If we did not do future scans these black objects could* potentially contain references to newly allocated objects in the future and* we'd end up with false positives. |
| 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 |