Release Notes: This release fixes a bug in compiled patterns.
Release Notes: Support for Java and C# code has been removed. A new option --language= for treating code as a specific language. Support for GCC binary number syntax (0b...). Simplification of well-known math.h functions. The check for a variable being assigned a value and never used also handles reassignments. Fixes for several false negatives in the buffer overrun check. Detection of more inadequate comparisons of Boolean variables. Better detection of mismatching and assignments and comparisons with bitwise operations. A check for variables being reassigned a value before the old one has been used. Detection of freeing invalid addresses.
Release Notes: A segmentation fault was fixed.
Release Notes: This release fixes a crash with the --errorlist option.
Release Notes: cppchek's understanding of C++ code was improved in many ways. This makes cppcheck find more errors and report fewer false positives. For example, the calculation of string lenghts, used to determine if a call to a printf-like function will or may overflow the buffer, was improved in the case of escaped characters in the string. MathLib is now used to recognize variations of 0, such as 0L.
Release Notes: This is a quick release to fix a few bad bugs.
Release Notes: This release improves the memory leaks checking so that it detects more bugs. It improves the preprocessor (extracting ifdef configurations). It improves the tokenizer. It will find uninitialized member variables. A few error messages have been rewritten to make them easier to understand. False positives have been fixed. A problem with XML output has been fixed (the " and & were not encoded properly). A memory leak has been fixed. The GUI has been fixed and improved.
Release Notes: This release fixes a segmentation fault and compile error. It will suppress errors about memory leaks for classes that are automatically deallocated (through "--auto-dealloc"). It adds an option for controlling the exit value (through "--error-exitcode"). It adds the command line option "--version". It has better handling of __asm code blocks. It fixes false positives about unused private functions, false positives about memory leaks, and incorrect line numbers in error messages.
Release Notes: Extra include directories can be specified with -I. XML output can be obtained through the --xml-results option. The program returns 0 only if no errors found (else EXIT_FAILURE). The .C and .c++ suffixes are now allowed. New checks were added against using overlapping data in input and output with sprintf, usage of a freed pointer, freeing a pointer that has already been freed, and dangerous use of mktemp. Some checks were removed since many compilers handle them well: unused variables, unreachable code, and assignments in conditional expressions. Preprocessor macros are handled.
Release Notes: A new C++ check was added that detects when a base class has a non-virtual destructor. The command line options have changed. --recursive was removed. --errorsonly was renamed to --quiet. --force was added. Improvements were made in the core functionality that makes the checks more accurate. Many small updates were made in the memory leak checking.