Install latest/stable of cppcheck
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Cppcheck is a static analysis tool for discovering bugs in C and C++ codebases, even when a non-standard syntax is used.
By implementing coding standards such as Mistra C 2012 and providing extensibility with custom rules, it detects dangerous coding constructs such as buffer overflows, NULL pointer dereferences, and divisions by zero. At the same time, Cppcheck tries to minimise the false positive rates.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.