Static-code analyzer: unmanaged C++ Visual Studio 2008

ぐ巨炮叔叔 提交于 2019-12-04 03:49:14

I work for RedLizard building Goanna, a C++ static analysis plugin for Visual Studio. Its focus is on desktop use by a programmer. You can run it on individual files, just as you do the compiler, and it can give you results quickly.

There is a trial available. Right-click a file, select Run Goanna, and the results appear in the Visual Studio warnings list.

Beyond all those you mentioned, VS Team Developer edition comes bundled with a nice static analysis tool called prefast. Its (obviously..) well integrated into the IDE, and accessible via the menus. Its in fact a public release of an MS internal tool - a thin version of a tool called Prefix they run on their builds. Personally, when I faced the same decision, prefast sufficed.

You can try CppDepend, a pretty complete c and c++ static analyzer, well integrated with VS 2008, 2010, 2012, 2013 and 2015.

Stephen Nutt

I just started using cppcheck which I like very much due to the low noise.

Although it does not integrate directly with Visual Studio 2008, VS can be customized and you should be able to integrate it directly into the IDE.

I use PVS-Studio static code analyzer. This static code analyzer good integrated with Visual Studio 2005, 2008, 2010, 2012, 2013.

It has many additional features:

  1. Verification of files which were recently modified several days ago;

  2. Verification of files by their filenames from within the text file list;

  3. version control systems integration; ability to operate fro m command line interface;

  4. «False Alarms» marking; saving and loading of analysis results;

  5. utilizing all available cores and processors;

  6. etc...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!