Paket: cppcheck (2.10-2)
Links für cppcheck
Debian-Ressourcen:
Quellcode-Paket cppcheck herunterladen:
Betreuer:
Externe Ressourcen:
- Homepage [sourceforge.net]
Ähnliche Pakete:
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.
Andere Pakete mit Bezug zu cppcheck
|
|
|
|
-
- dep: libc6 (>= 2.35)
- GNU-C-Bibliothek: Laufzeitbibliotheken
auch ein virtuelles Paket, bereitgestellt durch libc6-udeb
-
- dep: libgcc-s1 (>= 3.0)
- GCC Support-Bibliothek
-
- dep: libpcre3
- Alte »Perl 5 Compatible Regular Expression Library« - Laufzeitdateien
-
- dep: libstdc++6 (>= 11)
- GNU-Implementierung der Standard-C++-Bibliothek (Version 3)
-
- dep: libtinyxml2-9 (>= 8.0.0)
- C++-Bibliothek zur XML-Analyse
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-pygments
- Python-3-Paket zur Syntaxhervorhebung
-
- sug: clang
- Compiler für C, C++ und Objective-C auf Grundlage von LLVM, Programm clang
-
- sug: clang-tidy
- Clang-basiertes Werkzeug zur statischen C++-Codeanalyse
-
- sug: cppcheck-gui
- tool for static C/C++ code analysis (GUI)
cppcheck herunterladen
Architektur | Paketgröße | Größe (installiert) | Dateien |
---|---|---|---|
amd64 | 2.035,5 kB | 9.635,0 kB | [Liste der Dateien] |