1 / 15
文档名称:

Cppcheck 1. 静态代码分析工具.doc

格式:doc   大小:15KB   页数:15页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Cppcheck 1. 静态代码分析工具.doc

上传人:好用的文档 2022/3/2 文件大小:15 KB

下载得到文件列表

Cppcheck 1. 静态代码分析工具.doc

文档介绍

文档介绍:Cppcheck CC 静态代码分析工具
Cppcheck C/C++静态代码分析工具分类:
第三方库
2012-04-19 12:29
118人阅读
评论(0)
收藏
举报Cppce portability messages
* information
Enable information messages
* unusedFunction
Check for unused functions
* missingInclude
Warn if there are missing includes. For detailed information, use '--check-config'.
Several ids can be given if you separate them with commas. See also --std
--error-exitcode=<n>
If errors are found, integer [n] is returned instead of the default '0'. '1' is returned if arguments are not valid or if no input files are provided. Note that your operating system can modify this value, . '256' can become '0'.
--errorlist
Print a list of all the error messages in XML format.
--exitcode-suppressions=<file>
Used when certain messages should be displayed but should not cause a non-zero exitcode.
--file-list=<file>
Specify the files to check in a text file. Add one filename per line. When file is '-,' the file list will be read from standard input.
-f, --force
Force checking of all configurations in files. If used together with '--max-ifdefs=', the last option is the one that is effective.
-h, --help
Print this help.
-I <dir>
Give path to search for include files. Give several -I parameters to give several paths. First given path is searched for contained header files first. If paths are relative to source files, this is not needed.
--includes-file=<file>
Specify directory paths to search for included header files in a text file. Add one include path per line. First given path is searched for contained header files first. If paths are relative to source files, this is not needed.
-i <dir or file>
Give a source file or source file directory to exclude from the check. This applies only to source files so header files included by source files are not matched. Directory name is matched to all parts of the path.