less than 1 minute read

姊妹篇:Java代码质量度量工具大阅兵: https://www.cnblogs.com/jiangxinnju/p/10010177.html

cppcheck

CCCC

PC-lint

cpplint

Splint

Splint is a tool for statically checking C programs for security vulnerabilities and coding mistakes. With minimal effort, Splint can be used as a better lint. If additional effort is invested adding annotations to programs, Splint can perform stronger checking than can be done by any standard lint.

Frama-C

Frama-C is a suite of tools dedicated to the analysis of the source code of software written in C.

Goanna Studio

Visual Leak Detector

MemLeak

MemLeak – a module to debug memory leaks in C code and other problems with malloc()–free() invocations. Written in ANSI C. Distributed under GPL.

Valgrind

Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.

额外阅读

Comments