问题描述
在UNIX环境中,在那里它可以很容易地分析code和何况还有在code的某些部分内存泄露的机会的工具。
HPUX / AIX / Solaris上
On the unix environment, are there any tools which can easily analyse the code and mention there is a chance of memory leakage in certain sections of the code.HPUX/AIX/Solaris
推荐答案
如果你在谈论再有就是(以及许多其他)
If you're talking about static analysis then there's cppcheck (among many others)
如果你在谈论一个(这将是方式更精确可靠不是静态分析)有
If you're talking about a runtime checker (which will be way more accurate and reliable than static analysis) there's valgrind
还有其他的工具负荷可用。看看上面的链接以获取更多信息。
There's loads of other tools available. Check out the links above for more information
调试器,它能够检测内存泄漏。
HP has the wdb debugger, and it's capable of detecting memory leaks.
这篇关于工具,以确定在C / C ++ code内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!