Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked Cppcheck v2.10.3 - a static analysis tool for C/C++ code


itsMe

Recommended Posts

This is the hidden content, please

Cppcheck is a static analysis tool for C/C++ code. It provides a unique code analysis to detect bugs and focuses on detecting undefined behavior and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).

Features

Unique code analysis that detects various kinds of bugs in your code.

Both command line interface and graphical user interface are available.

Cppcheck has a strong focus on detecting undefined behaviour.

Undefined behaviour

    Dead pointers
    Division by zero
    Integer Overflows
    Invalid bit shift operands
    Invalid conversions
    Invalid usage of STL
    Memory management
    Null pointer dereferences
    Out of bounds checking
    Uninitialized variables
    Writing const data

Changelog v2.10

Analysis:

    Many improvements and fixes in checkers.
    Windows binaries currently default to the “win32A” and “win64” platform respectively. Starting with Cppcheck 2.13 they will default to ‘native’ instead. Please specify ‘–platform=win32A’ or ‘–platform=win64’ explicitly if you rely on this.
    New check: use memset/memcpy instead of loop

CLI:

    if the file provided via “–file-list” cannot be opened it will now error out
    add command-line option “–disable=” to individually disable checks

GUI:

    Detect when installed version is old. There is setting in Edit/Preferences to turn this on.
    Fix path issue with backslashes
    Cleanup *.ctu-info files after analysis

Build:

    the deprecated Makefile option SRCDIR is no longer accepted
    added CMake option BUILD_CORE_DLL to build lib as cppcheck-core.dll with Visual Studio

This is the hidden content, please

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.