Memory leak detection under Windows for GNU C/C++ [closed]

房东的猫 提交于 2019-12-18 03:34:27

问题


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.



来源:https://stackoverflow.com/questions/283726/memory-leak-detection-under-windows-for-gnu-c-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!