Cppcheck is developed as an open source and easy-to-use application that provides static analysis of C/C++ code.
Cppcheck is an instrument that will check for memory leaks, mismatching allocation-deallocation, buffer overrun, and many more.
What's New in This Release:
Commandline/Settings changes:
· Support for Java and C# code has been removed.
· New option --language= (alias: -x=) to enforce treating code as a specific language
Improvements:
· Support GCC binary number syntax (0b...)
· Fixed search order for include paths
· Several error messages have been improved to be more understandable and consistent
· Rewrote enum parsing
· Simplification of well-known math.h functions
· Check for variable being assigned a value never used handles now also reassignments
· Fixed several false negatives in buffer overrun check
· Detect more inadequate comparisons of boolean variables
· Better detection of mismatching and assignments and comparisons with bitwise operations
New checks:
· Check for variables being reassigned a value before the old one has been used
· Detect missing copy constructors when class allocates memory
· Check for pointer copying when class allocates memory
· Detect freeing invalid address
GUI:
· Added Scratchpad feature
· Message Ids can be co...