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

Home / cppcheck / 1.67
Name Modified Size InfoDownloads / Week
Parent folder
cppcheck-1.67-x86-Setup.msi 2014-10-18 7.3 MB
README 2014-10-18 1.6 kB
cppcheck-1.67.zip 2014-10-18 1.6 MB
cppcheck-1.67.tar.gz 2014-10-18 1.4 MB
cppcheck-1.67.tar.bz2 2014-10-18 1.1 MB
Totals: 5 Items   11.4 MB 0
General changes:
- Library files have now a 'format' attribute. Format version 1 is assumed by default
- Cppcheck does no longer abort checking if unhandled characters (Non-ASCII) are found

New checks:
- Check for unused return values
- Detect shift by too many bits, signed integer overflow and dangerous sign conversion
- Recommend usage of expm1(), log1p(), erfc()
- Division by sizeof() as parameter to memset/memcpy/memmove/etc. as they expect a size in bytes
- Several new va_arg related checks:
-- Wrong parameter passed to va_start()
-- Reference passed to va_start()
-- Missing va_end()
-- Using va_list before it is opened
-- Subsequent calls to va_start/va_copy()
- Initialization by itself in initializer list
- Dead pointer usage when pointer alias local variable that has gone out of scope

Improvements:
- Support uniform initialization syntax (C++11)
- Much improvements to value flow analysis
- Improved AST creation (support placement new, C++-style casts, templates, operator new[], ...)
- Improved lambda support
- Support GCC extension __attriute__((used)) and MSVC extension __declspec(property)
- Better support for static member variables, inherited variables and namespaces
- Improved typedef support where multiple variables are declared at once
- Avoid checking code multiple times by calculating a checksum. Duplicate preprocessor configurations are eliminated by this.
- Support C++03/C 'auto' keyword
- HTML report: display 'verbose' message using clickable expandable divs

Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
Source: README, updated 2014-10-18