Dynamic code analysis for C++

2019-02-17 13:00发布

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.)

3条回答
你好瞎i
2楼-- · 2019-02-17 13:27

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.

查看更多
倾城 Initia
3楼-- · 2019-02-17 13:30

Try Valgrind. It is not as powerful as IBM Purify, but it works quite fine...

查看更多
Lonely孤独者°
4楼-- · 2019-02-17 13:41

Try Duma (Detect Unintended Memory Access).

查看更多
登录 后发表回答