views:

121

answers:

5

What's the best tool (commercial/open source) you've used for dynamic review/memory analysis of a C++ application?

EDIT: removed 'static' as there is already a great question on this topic (thanks Iulian!)

+1  A: 

CPPCheck has served me well for a while now. This is for statical analysis.

daramarak
+6  A: 

For dynamic memory analysis definitely Valgrind.

tur1ng
+1 Yes, I second that. Valgrind is a grand tool for memory analysis.
daramarak
I see that there are no commercial options listed here...so I guess I'll accept this purely based on number of upvotes. Thanks!
Ryan Fernandes
+2  A: 

Valgrind on Linux

Duma on Windows

Prasoon Saurav
A: 

For statical analysis there are answers here already.

Iulian Şerbănoiu
I'm even open to commercial products.. I'll update the question accordingly. Thanks!
Ryan Fernandes
A: 

For static code review KLOCWORKS is good.

For memory profiling, memory leaks identification, devpartner is a very good one.

ckv