4 ms·
"The best camera is the one thats with you." Sure, the power of warnings and gcc/clang's dedicated static analyzer modes aren't usually as good as commercial a
by wyldfire 5y ago
"The best camera is the one thats with you."
Sure, the power of warnings and gcc/clang's dedicated static analyzer modes aren't usually as good as commercial alternatives. The commercial ones either have fewer false positives or a larger suite of checks, or both. But the fact that (at least with clang) you can throw on a "-Wall --analyze" while you're compiling means that there's a huge level of convenience that you don't even need to setup or play with the build environment in order to get coverity/klockwork/etc working.
That PVS Studio is an interesting one. It has some very clever and (at one time) unique checks looking at similar consecutive statements and expressions and the identifier names used within in order to identify a pattern and find a deviation from the pattern.
- pletnes 5y agoThis, and also the fact that everyone on the team has to use the compiler, no matter what they’re doing. Separate tools are much harder to get into everyone’s workflow.
- hardware2win 5y agoCannot it be just on cicd?
- pletnes 5y agoSure, but the feedback loop is much slower. It’s great if you can easily catch most issues locally.