Dynamic code analysis for C++

后端 未结 4 525
星月不相逢
星月不相逢 2021-01-13 06:27

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 d

相关标签:
4条回答
  • 2021-01-13 07:09

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

    0 讨论(0)
  • 2021-01-13 07:10

    CodeCompass is quite good as well.

    Although it has quite the dependencies compared to Valgrind and Duma, it's a quality analysis tool.

    0 讨论(0)
  • 2021-01-13 07:21

    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.

    0 讨论(0)
  • 2021-01-13 07:23

    Try Duma (Detect Unintended Memory Access).

    0 讨论(0)
提交回复
热议问题