全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: cppcheck  ]

套件:cppcheck(2.16.0-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

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 2,315。3 kB10,602。0 kB [檔案列表]