Memory Leaks Detection: A Different Approach
此文讨论了现在内存泄漏工具的一些不足,比如误报。不过个人在这种问题上要求比较严格,所以“误报”也是“报”!此文最后列出来的两个内存泄漏探测工具还是可以看看的,列在这里:
Windows Leaks Detector (sourceforge.net/projects/winleak) for Win32 attaches to any running process (no source code required), provides a basic UI to start and end monitoring memory activity, and finally produces a report of all memory leaks with full call stack information. It also lets you automatically add debugger breakpoints when memory allocation occurs.
LeakTracer (www.andreasen.org/LeakTracer) for Linux requires special compilation of your project.