alle opties
jessie  ] [  stretch  ] [  stretch-backports  ] [  buster  ] [  bullseye  ] [  sid  ] [  experimental  ]
[ Bron: cppcheck  ]

Pakket: cppcheck (1.76.1-1)

Verwijzigingen voor cppcheck

Screenshot

Debian bronnen:

Het bronpakket cppcheck downloaden:

Beheerder:

Externe bronnen:

Vergelijkbare pakketten:

tool for static C/C++ code analysis (CLI)

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.

Tags: Softwareontwikkeling: Ontwikkelen in C, Ontwikkelen in C++, Testing and QA, Implemented in: implemented-in::c++, interface::commandline, Role: Program, Scope: Utility, Security: security::TODO, use::analysing, Purpose: Checking, Works with: Source Code

Andere aan cppcheck gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

cppcheck downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
amd64 816,2 kB3.175,0 kB [overzicht]
arm64 736,7 kB3.011,0 kB [overzicht]
armel 719,4 kB2.882,0 kB [overzicht]
armhf 738,3 kB2.330,0 kB [overzicht]
i386 903,9 kB3.394,0 kB [overzicht]
mips 726,2 kB3.541,0 kB [overzicht]
mips64el 724,3 kB3.583,0 kB [overzicht]
mipsel 740,3 kB3.541,0 kB [overzicht]
ppc64el 773,4 kB3.431,0 kB [overzicht]
s390x 755,5 kB3.375,0 kB [overzicht]