Collaboration diagram for Memory Tracing:
|
Functions | |
| psS32 | psMemCheckLeaks (psMemoryId id0, psMemBlock ***arr, FILE *fd, psBool persistence) |
| Check for memory leaks. | |
| psS32 | psMemCheckCorruption (psBool abort_on_error) |
| Check for memory corruption. | |
|
|
Check for memory corruption. Scans all currently allocated memory buffers and checks for corruptions, i.e., invalid markers that signify a buffer under/overflow.
|
|
||||||||||||||||||||
|
Check for memory leaks. This scans for allocated memory buffers not freed with an ID not less than id0. This is used to check for memory leaks by:
If memory leaks are found, the Memory Problem callback will be called as well. return psS32 number of memory blocks found as 'leaks', i.e., the number of currently allocated memory blocks above id0 that have not been freed.
|
1.4.1