- 论坛徽章:
- 0
|
为虾米俺google了一下就找到了呢
还是ubuntu下面的- NAME
- cppcheck - Simple syntax checking of C/C++.
- SYNOPSIS
- cppcheck [--all] [--append [file]] [--auto-dealloc [file]]
- [--enable=[id]] [--error-exitcode=[n]] [--force] [--help]
- [-I[dir]] [-j[jobs]] [--quiet] [--style]
- [--suppressions [file]] [--template ['text']]
- [--unused-functions] [--verbose] [--version] [--xml]
- [file or path] ...
- DESCRIPTION
- Tool for static C/C++ code analysis intended to complement the checking
- of the compiler. Checks for: memory leaks, mismatching
- allocation-deallocation, buffer overrun, and many more.
复制代码 但是功能好像比较有限
不知道满足你的要求不
自己试了一下故意不加;
没有检查出来... |
|