如题,就工具而言主要包括valgrind、mtrace、dmalloc和memwatch等,具体使用请参照以下连接
Linux C内存泄露检测工具 http://blog.sina.com.cn/s/blog_4b9216f50100e6o7.html
Linux C/C++ 内存泄漏检测工具:Valgrind http://zyan.cc/post/419/
就内存泄漏检测的理论和实现请参照以下连接:
一个跨平台的 C++ 内存泄漏检测器 http://www.ibm.com/developerworks/cn/linux/l-mleak2/index.html
如何在linux下检测内存泄漏 http://www.ibm.com/developerworks/cn/linux/l-mleak/index.html
时间: 2025-01-05 13:04:47