Download Latest Version cppcheck-2.19.0.tar.gz (4.0 MB)
Email in envelope

Get an email when there's a new version of cppcheck

Name Modified Size InfoDownloads / Week
Parent folder
cppcheck-2.2-x64-Setup.msi 2020-10-03 21.6 MB
README 2020-10-03 1.1 kB
cppcheck-2.2.zip 2020-10-03 3.8 MB
cppcheck-2.2.tar.gz 2020-10-03 3.6 MB
cppcheck-2.2.tar.bz2 2020-10-03 2.9 MB
Totals: 5 Items   31.9 MB 0
New checks:
 * incorrect usage of mutexes and lock guards
 * Dereference end iterator
 * Iterating a known empty container
 * outOfBounds check for iterators to containers

Removed 'operator=' check that ensures reference to self is returned. That is not about safety.

Improved parser
 * various ast fixes

Clang parser
 * The Clang import feature in Cppcheck should be considered to be experimental for now. There are problems.

Improved bug hunting
 * variable constraints
 * handling of multidimension arrays
 * function calls, execute functions that are in same TU
 * improved handling of containers
 * several improvements for uninitialized variables check
 * improved analysis of for loops
 * added a hash value for warnings that can be used for suppressions

Improved data flow
 * one more heuristic for ternary operators
 * improved data flow for containers

CLI:
 * Fixed some addon execution problems when there are spaces etc

GUI:
 * Fix handling of tags
 * Exclude files

cppcheck-htmlreport:
 * several result files can be combined into 1 output

Suppressions:
 * comments can be added at end of suppression in suppressions file

Source: README, updated 2020-10-03