toutes les options
stretch  ] [  stretch-backports  ] [  buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ Paquet source : cppcheck  ]

Paquet : cppcheck (2.3-1)

Liens pour cppcheck


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 Taille du paquet Espace occupé une fois installé Fichiers
amd64 1 666,3 ko7 208,0 ko [liste des fichiers]
arm64 1 504,3 ko6 904,0 ko [liste des fichiers]
armel 1 453,9 ko6 827,0 ko [liste des fichiers]
armhf 1 516,2 ko5 747,0 ko [liste des fichiers]
i386 1 789,1 ko7 467,0 ko [liste des fichiers]
mips64el 1 508,4 ko7 962,0 ko [liste des fichiers]
mipsel 1 538,0 ko7 908,0 ko [liste des fichiers]
ppc64el 1 665,6 ko7 980,0 ko [liste des fichiers]
s390x 1 481,6 ko7 236,0 ko [liste des fichiers]