Best C ++ static and temporary tools

Sorry if I skipped this question already, but I searched and could not find it.

I visited the C / C ++ world for a while and returned to the project. I was wondering which tools are preferred today to help with development.

Types of tools that I mean:

  • Purify
  • Electric fence
  • PC-Lint
  • Cscope

Thanks!

+4
source share
5 answers

You have already mentioned some (mostly free) alternatives. It again depends on the platform.

Window:

  • VSTS 2008 is pretty good with its /analyze and profiling tools
  • Rational Purify (as you mentioned)
  • Boundschecker

Linux:

  • Valgrind

Mac:

  • Shark
  • Chud
  • Detective
  • Mallodebug
+1
source

I'm impressed with Coverity . This is not ideal, but these are the best static analysis tools I've worked with.

My favorite tool is still Valgrind .

0
source

I recently discovered cppcheck , probably not the best static controller, but highlighted some basic errors that have been inactive in our code for many years.

It is fast and easy to use. It is free and open source. It is actively developing, so I expect it to catch a new mistake soon.

0
source

Window:

Disclaimer: I am part of the team that makes these tools.

You mentioned PC-Lint, you can try RiverBlade's Visual Lint , which adds a nice GUI to the results and integrates with Visual Studio.

0
source

Source: https://habr.com/ru/post/1303736/


All Articles