全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: 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

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
s390x 1,481.6 kB7,236.0 kB [文件列表]