1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in
Version 17 (modified by aggro80, 5 years ago)

svn example put inside code tags

cppcheck development

This wiki is about cppcheck development

Creating new tickets


  • false positive (when --all is not used)
  • false positive (when --all is used, check the KnownFalsePositives page first)
  • hang / crash
  • fail to compile


  • new checks
  • an existing check fails to detect bug (use the component "new check")
  • suggestions about different output
  • integration (for example if you can't compile with a specific compiler)

Source code

  • Latest version can be found in the svn
    svn co https://cppcheck.svn.sourceforge.net/svnroot/cppcheck cppcheck

How to submit a patch

Create a ticket that describes the problem. Then add your patch as a file attachment.


Full speed development. All open tickets are looked at.


cppcheck is basically a pattern matcher. The input code will be matched against various patterns that are known to be bugs.

Analyzing a file is made in 3 steps:

  1. Preprocess
  2. Tokenize
  3. Run all checks - pattern matching of the tokens

Design documentation

Short description about Cppcheck for developers interested on developing Cppcheck: DesignDoc?