I just upgraded to Mac OS X Mountain Lion and found out that
valgrind is still not compatible with Mountain Lion.
I have a 600 line C code that I need to check against memory leaks.
What are possible ways to do it other than valgrind? Can I use Xcode instruments?
preguntado el 28 de julio de 12 a las 19:07
Podrías comprobar el analizador estático clang. It's pretty awesome tool for finding bugs in the code.
It's better than valgrind in the fact that it does static analysis rather than running the code — so it can find bugs which you rarely reach. However, it is more likely to trigger false positives as well. And it's not as mature as valgrind.