(no title)
scscsc | 2 years ago
"Real" static analyzers, which are more useful, are based on symbolic execution and abstract interpretation and they will uncover more interesting classes of errors, like double frees, out of bounds array access, etc.
Note that all analyzers will have FPs and FNs, because the underlying problem is uncomputable.
The best open source "real" static analyzer overall for C++ is the Clang static analyzer. There are many commercial analyzers available, and most C++ shops will use one or more of these.
chc4|2 years ago
flohofwoe|2 years ago
E.g. quote from the documentation page (https://clang.llvm.org/extra/clang-tidy/):