1、解释命令(例)
$ export MALLOC_TRACE=mtrace.log
$ ./test
$ mtrace mtrace.log
2、解释结果(例)
Memory not freed:
-----------------
Address Size Caller
0x098023c0 0x3 at 0x80484b6
开发笔记
1、解释命令(例)
$ export MALLOC_TRACE=mtrace.log
$ ./test
$ mtrace mtrace.log
2、解释结果(例)
Memory not freed:
-----------------
Address Size Caller
0x098023c0 0x3 at 0x80484b6