What memory leak detection tools are available for use with open source C/C++ on Windows?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The mem (revised) package is an effective and straightforward tool to detect memory buffer overflows, underflows, leaks, double-deletion, and dangling references.
Original link to c.snippets.org, now invalid.
回答2:
I've been using VLD (Visual Leak Detector) for some times, it works nicely for good code, for more complex code; it's not perfect.
回答3:
WinDbg is always a good choice for any program open or closed.
回答4:
LeakDiag. Quite hard to find nowadays, but available here. You might also like to get LDGrapher, available in the same place.