cppcheck binary package in Ubuntu Bionic amd64
Cppcheck is a command-line tool that tries to detect bugs that your
C/C++ compiler doesn't see. It is versatile, and can check non-standard
code including various compiler extensions, inline assembly code, etc.
Its internal preprocessor can handle includes, macros, and several
preprocessor commands. While Cppcheck is highly configurable,
you can start using it just by giving it a path to the source code.
.
It includes checks for:
* pointers to out-of-scope auto variables;
* assignment of auto variables to an effective parameter of a function;
* out-of-bounds errors in arrays and STL;
* missing class constructors;
* variables not initialized by a constructor;
* use of memset, memcpy, etcetera on a class;
* non-virtual destructors for base classes;
* operator= not returning a constant reference to itself;
* use of deprecated functions (mktemp, gets, scanf);
* exceptions thrown in destructors;
* memory leaks in class or function variables;
* C-style pointer cast in C++ code;
* redundant if;
* misuse of the strtol or sprintf functions;
* unsigned division or division by zero;
* unused functions and struct members;
* passing parameters by value;
* misuse of signed char variables;
* unusual pointer arithmetic (such as "abc" + 'd');
* dereferenced null pointers;
* incomplete statements;
* misuse of iterators when iterating through a container;
* dereferencing of erased iterators;
* use of invalidated vector iterators/pointers;
.
This package contains the command-line interface for cppcheck.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2018-02-07 07:39:24 UTC | Published | Ubuntu Bionic amd64 | release | universe | devel | Optional | 1.82-1 | ||
|
|||||||||
Deleted | Ubuntu Bionic amd64 | proposed | universe | devel | Optional | 1.82-1 | |||
|
|||||||||
2018-02-07 07:39:41 UTC | Superseded | Ubuntu Bionic amd64 | release | universe | devel | Optional | 1.81-1build1 | ||
|
|||||||||
2018-02-08 12:10:09 UTC | Deleted | Ubuntu Bionic amd64 | proposed | universe | devel | Optional | 1.81-1build1 | ||
|
|||||||||
2018-01-30 21:25:45 UTC | Superseded | Ubuntu Bionic amd64 | release | universe | devel | Optional | 1.81-1 | ||
|
|||||||||
2018-02-01 00:10:10 UTC | Deleted | Ubuntu Bionic amd64 | proposed | universe | devel | Optional | 1.81-1 | ||
|
|||||||||
2017-11-03 11:13:51 UTC | Superseded | Ubuntu Bionic amd64 | release | universe | devel | Optional | 1.80-1 | ||
|