全部搜尋項
jessie  ] [  stretch  ] [  stretch-backports  ] [  buster  ] [  bullseye  ] [  sid  ] [  experimental  ]
[ 原始碼: cppcheck  ]

套件:cppcheck(2.3-1 以及其他的)

cppcheck 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 cppcheck

維護者:

外部的資源:

相似套件:

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.

標籤: 軟體開發: C 開發, C++ 開發, 函式庫, devel::testing-qa, implemented-in::c, 實做語言: C++, 使用者介面: interface::commandline, role::devel-lib, 角色: 程式, 範圍: 實用程式, 安全性: security::TODO, use::analysing, Purpose: Checking, 處理: 原始碼

其他與 cppcheck 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 cppcheck

下載可用於所有硬體架構的
硬體架構 版本 套件大小 安裝後大小 檔案
alpha (非官方移植版) 2.3-1 1,645。7 kB8,316。0 kB [檔案列表]
amd64 2.3-1 1,666。3 kB7,208。0 kB [檔案列表]
arm64 2.3-1 1,504。3 kB6,904。0 kB [檔案列表]
armel 2.3-1 1,453。9 kB6,827。0 kB [檔案列表]
armhf 2.3-1 1,516。2 kB5,747。0 kB [檔案列表]
hppa (非官方移植版) 2.3-1 1,656。7 kB7,381。0 kB [檔案列表]
i386 2.3-1 1,789。1 kB7,467。0 kB [檔案列表]
m68k (非官方移植版) 2.3-1 1,447。0 kB6,947。0 kB [檔案列表]
mips64el 2.3-1 1,508。4 kB7,962。0 kB [檔案列表]
mipsel 2.3-1 1,538。0 kB7,908。0 kB [檔案列表]
ppc64 (非官方移植版) 2.3-1 1,641。5 kB8,236。0 kB [檔案列表]
ppc64el 2.3-1 1,665。6 kB7,980。0 kB [檔案列表]
riscv64 (非官方移植版) 2.3-1 1,622。3 kB6,339。0 kB [檔案列表]
s390x 2.3-1 1,481。6 kB7,236。0 kB [檔案列表]
sh4 (非官方移植版) 2.2-1 1,627。0 kB6,338。0 kB [檔案列表]
sparc64 (非官方移植版) 2.3-1 1,470。2 kB7,222。0 kB [檔案列表]
x32 (非官方移植版) 2.3-1 1,650。7 kB7,039。0 kB [檔案列表]