toutes les options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Paquet source : cppcheck  ]

Paquet : cppcheck (2.14.0-1 et autres)

Liens pour cppcheck

Screenshot

Ressources Debian :

Télécharger le paquet source cppcheck :

Responsable :

Ressources externes :

Paquets similaires :

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.

Étiquettes: Développement de logiciel: Programmation C, Programmation C++, Bibliothèques, devel::testing-qa, implemented-in::c, Mis en œuvre en: C++, Interface utilisateur: interface::commandline, role::devel-lib, Rôle: Programme, Champ d'application: Utilitaire, Sécurité: security::TODO, use::analysing, But: Vérification, Fonctionne avec: Code source

Autres paquets associés à cppcheck

  • dépendances
  • recommandations
  • suggestions
  • enhances

Télécharger cppcheck

Télécharger pour toutes les architectures proposées
Architecture Version Taille du paquet Espace occupé une fois installé Fichiers
alpha (portage non officiel) 2.12.0-1 1 948,2 ko10 502,0 ko [liste des fichiers]
amd64 2.14.0-1+b1 2 139,3 ko9 916,0 ko [liste des fichiers]
arm64 2.14.0-1+b1 1 891,1 ko9 486,0 ko [liste des fichiers]
armel 2.14.0-1+b1 1 837,8 ko9 333,0 ko [liste des fichiers]
armhf 2.14.0-1+b1 1 904,0 ko7 925,0 ko [liste des fichiers]
hppa (portage non officiel) 2.12.0-1 2 046,3 ko9 906,0 ko [liste des fichiers]
i386 2.14.0-1+b1 2 296,0 ko10 205,0 ko [liste des fichiers]
ia64 (portage non officiel) 2.12.0-1 2 422,9 ko15 613,0 ko [liste des fichiers]
m68k (portage non officiel) 2.11-3 1 771,8 ko9 336,0 ko [liste des fichiers]
mips64el 2.14.0-1+b1 1 934,8 ko10 850,0 ko [liste des fichiers]
ppc64 (portage non officiel) 2.14.0-1+b1 2 041,7 ko10 894,0 ko [liste des fichiers]
ppc64el 2.14.0-1+b1 2 081,5 ko10 574,0 ko [liste des fichiers]
riscv64 2.14.0-1+b1 2 097,5 ko8 638,0 ko [liste des fichiers]
s390x 2.14.0-1+b1 2 025,3 ko9 766,0 ko [liste des fichiers]
sh4 (portage non officiel) 2.12.0-1 2 088,6 ko8 960,0 ko [liste des fichiers]
sparc64 (portage non officiel) 2.14.0-1+b1 1 804,9 ko10 007,0 ko [liste des fichiers]
x32 (portage non officiel) 2.9-1 1 969,5 ko9 332,0 ko [liste des fichiers]