code - C++静态代码扫描工具都有哪些?
伊谢尔伦
伊谢尔伦 2017-04-17 11:50:46
0
2
553

最近有一个想法,一个比较大的项目,随着时间推移,实际上很多时候文件管理上就不是那么清晰了。可能会有什么冗余文件出现的。之后在网上搜到了这个静态代码扫描工具的。不过搜了很多好像都没什么详细介绍。感觉这东西应该也算是常用工具的。

想在这里问一下大大们:

  1. C++静态代码扫描工具都有什么,每种都有什么特点,优缺点。
  2. 如果能阐释一下这种工具的制作原理,那必然是极好的了。

先谢过大大们~~

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
刘奇

No one has answered this question for so long.

There are many tools, please see the list: http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C....

The more commonly used ones are cpplint and Clang Static Analyzer.

Also used the old Cppcheck

These tools are usually embedded in various IDEs in the form of plug-ins. I currently prefer cpplint, which is actually a python script that helps you check whether it complies with the Google C++ Style standard specification.

As for the detailed introduction, it is recommended to start from the Wiki and check the relevant documents to get started.

阿神

Valgrind is very good.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template