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.
The portable version of the software can be found here.
What's New in This Release:
New checks:
· arithmetical usage of inf/nan result
· suspicious usage of comma in return statement
· sizeof(void)
Improved checking:
· better simplification of strlen
· improved handling of array member variables 'x[y].z..'
· Specific improvements in checks for buffer overruns, format strings, uninitialized variables
Command line:
· Using both --max-configs and -D. Normally when -D is used, Cppcheck will only check the given configuration. By using --max-configs also, you can tell Cppcheck to check more configurations.
· Added --library and --check-library.
Graphical user interface:
· Somewhat improved response when stopping checking
Cppcheck core:
· Extending checking with configuration files. Cppcheck has internal knowledge for standard C/C++ functions. Knowledge for libraries and environments can be specified using configuration files.
· Rules: added that allow you to check 'raw' code and 'normal' code. In the 'raw' code, the comments and #include are already taken care of, but the #define statemen...