I've just started learning C and I have a hard time finding bugs, memory leaks and the like. Which are good tools to assist you in finding such things? I heard of Valgrind but are there others?
+1
A:
If you're allocating memory dynamically your programs are probably already too complex for it to do a really good job, but you may be amused by the value analysis in Frama-C. Take a look at the tutorialet and move up to the tutorial chapter in the manual if you are still interested.
Pascal Cuoq
2010-02-19 00:34:13
+1
A:
I suspect they cost more than you’re willing to pay, but both Coverity and Klocwork do serious checking for memory leaks, along with lots of other things.
Flash Sheridan
2010-02-19 05:18:27