0
Cppcheck Portable

C/C++ analysis tool
Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools, we don't detect syntax errors. Cppcheck only detects the types of bugs that the compilers normally fail to detect.

Features

ScreenshotCppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and many other analysis tools, we don't detect syntax errors. Cppcheck only detects the types of bugs that the compilers normally fail to detect. The goal is no false positives. Cppcheck is far from finished, it is continuously improved to make it more accurate.

Detect various kinds of bugs in your code.

Out of bounds checking
Memory leaks checking
Detect possible null pointer dereferences
Check for uninitialized variables
Check for invalid usage of STL
Checking exception safety
Warn if obsolete or unsafe functions are used
Warn about unused or redundant code
Detect various suspicious code indicating bugs

For a list of all checks see: http://sourceforge.net/p/cppcheck/wiki/ListOfChecks.

In addition, there are also a few extra checks in the Cppcheck repository that can be downloaded; rules , addons.

Both command line interface and graphical user interface are available.

Cppcheck can be extended. You can:

look for simple patterns, see chapter about rules in the manual (pdf, html)
define rules for functions with .cfg files, see chapter about library files in the manual (pdf, html)
extend cppcheck with scripts, see chapter about addons in the manual (pdf, html)

Documentation

You can read the manual or download some articles.

Support

Use Trac to report bugs and feature requests
Ask questions at the IRC channel #cppcheck
Contribute

You are welcome to contribute. Help is needed.

Testing

Pick a project and test its source with the latest version of Cppcheck. Submit tickets to Trac about the issues you find in Cppcheck.

Developing

Pick a ticket from Trac, write a test case for it (and write a comment to the ticket for which that test case has been created). Alternatively, pick a test case that fails and try to fix it. Make a patch and submit it to Trac either inline, if it is small, or otherwise - attach it as a file.

Marketing
Write articles, reviews or tell your friends about us. The more users we have, the more people we have testing and the better we can become.

Design
Come up with some new good checks, and create tickets in the Trac instance about them.

Integration
Write a plugin for your favorite IDE or create a package for your distribution or operating system.

Technical Writing
Write better documentation for the bugs we find. Currently only a few bugs have any documentation at all.


Download Details
Publisher: Cppcheck (Kenny Williams)
Date updated: 2016-010-07
System Requirements: Windows XP/Vista/7/8/10
License: Free / Open Source (GPL)
Source Code: Cppcheck
MD5 Hash: e3ea97b28183bd77ff9cbed676ae395f

Post a Comment

 
Top