все параметры
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Источник: cppcheck  ]

Пакет: cppcheck (2.10-2)

Ссылки для 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, Разработка на С++, Библиотеки, devel::testing-qa, implemented-in::c, Реализовано на: C++, Пользовательский интерфейс: interface::commandline, role::devel-lib, Роль: Программа, Область: Утилита, Безопасность: security::TODO, use::analysing, Цель: Проверка, Работает с: Исходный код

Другие пакеты, относящиеся к cppcheck

  • зависимости
  • рекомендации
  • предложения
  • enhances

Загрузка cppcheck

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
amd64 2 035,5 Кб9 635,0 Кб [список файлов]
arm64 1 818,6 Кб9 263,0 Кб [список файлов]
armel 1 756,8 Кб9 134,0 Кб [список файлов]
armhf 1 823,1 Кб7 846,0 Кб [список файлов]
i386 2 176,1 Кб10 010,0 Кб [список файлов]
mips64el 1 827,2 Кб10 479,0 Кб [список файлов]
mipsel 1 860,2 Кб10 372,0 Кб [список файлов]
ppc64el 2 007,2 Кб10 479,0 Кб [список файлов]
s390x 1 818,2 Кб9 707,0 Кб [список файлов]