Download Latest Version cppcheck-2.17.0.tar.bz2 (3.1 MB)
Email in envelope

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

Name Modified Size InfoDownloads / Week
Parent folder
README 2022-08-28 1.6 kB
cppcheck-2.9-x64-Setup.msi 2022-08-28 17.6 MB
cppcheck-2.9.zip 2022-08-28 4.2 MB
cppcheck-2.9.tar.gz 2022-08-28 3.9 MB
cppcheck-2.9.tar.bz2 2022-08-28 3.2 MB
Totals: 5 Items   28.9 MB 6
Analysis
========
- restored check for negative allocation (new[]) and negative VLA sizes from cppcheck 1.87 (LCppC backport)
- replaced hardcoded check for pipe() buffer size by library configuration option (LCppC backport)
- on Windows the callstack is now being written to the output specific via "--exception-handling"
- make it possible to disable the various exception handling parts via the CMake options "NO_UNIX_SIGNAL_HANDLING", "NO_UNIX_BACKTRACE_SUPPORT" and "NO_WINDOWS_SEH"
- detect more redundant calls of std::string::c_str(), std::string::substr(), and unnecessary copies of containers
- Add a `match` function to addon similiar to `Token::Match` used internally by cppcheck:
    - `|` for either-or tokens(ie `struct|class` to match either `struct` or `class`)
    - `!!` to negate a token
    - It supports the `%any%`, `%assign%`, `%comp%`, `%name%`, `%op%`, `%or%`, `%oror%`, and `%var%` keywords
    - It supports `(*)`, `{*}`, `[*]`, and `<*>` to match links
    - `@` can be added to bind the token to a name
    - `**` can be used to match until a token
- Add math functions which can be used in library function definition. This enables evaluation of more math functions in ValueFlow
- Further improve lifetime analysis with `this` pointers
- Propagate condition values from outer function calls
- Add debug intrinsics `debug_valueflow` and `debug_valuetype` to show more detail including source backtraces

Cppcheck Premium
================
GUI: Additional options to configure the Autosar, Cert C and Misra C++ coding standards
Command line: A --premium option that is used to provide premium options
Source: README, updated 2022-08-28