Mtrace

mtrace is the memory debugger included in the GNU C Library. == Use == The function mtrace installs handlers for malloc, realloc and free; the function muntrace disables these handlers. Their prototypes, defined in the header file mcheck.h, are The handlers log all memory allocations and frees to a file defined by the environment variable MALLOC_T...
Found on http://en.wikipedia.org/wiki/Mtrace
No exact match found