Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamic code analysis for C++

Is there an open source and (relatively) simple-to-use dynamic code analysis tool for C++ code?

Something like IBM Purify (memory corruption detection, memory leak detection, application performance profiling, etc.)

like image 640
user181218 Avatar asked Feb 08 '11 13:02

user181218


2 Answers

The software that is widely used (on Linux at least) is Valgrind. It has a lot of sub tools used to do what you are looking for.

There is also KCacheGrind which is a GUI frontend to the profiling tool of Valgrind, AKA Cachegrind.

like image 129
neuro Avatar answered Sep 24 '22 07:09

neuro


Try Duma (Detect Unintended Memory Access).

like image 31
Eddy Pronk Avatar answered Sep 20 '22 07:09

Eddy Pronk