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

full speed development

cppcheck development

This wiki is about cppcheck development

Creating new tickets

Defects:

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

Enhancements:

  • 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 git
    git clone git://github.com/danmar/cppcheck.git
    

How to submit a patch

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

Status

Full speed development. All open tickets are looked at. Version 1.31 is planned to be released on april 5th.

Overview

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?