[ 源代码: cppcheck ]
软件包:cppcheck-gui(2.16.0-1)
tool for static C/C++ code analysis (GUI)
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 graphical user interface for cppcheck.
其他与 cppcheck-gui 有关的软件包
|
|
|
|
-
- dep: cppcheck (= 2.16.0-1)
- tool for static C/C++ code analysis (CLI)
-
- dep: libc6 (>= 2.38)
- GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
-
- dep: libgcc-s1 (>= 3.0)
- GCC 支持库
-
- dep: libqt6charts6 (>= 6.6.1)
- Qt 6 Charts library
-
- dep: libqt6core6t64 (>= 6.7.2)
- Qt 6 core module
-
- dep: libqt6gui6 (>= 6.1.2)
- Qt 6 图形界面模块
-
- dep: libqt6help6 (>= 6.6.0)
- Qt 6 帮助软件库
-
- dep: libqt6network6 (>= 6.1.2)
- Qt 6 network module
-
- dep: libqt6printsupport6 (>= 6.1.2)
- Qt 6 print support module
-
- dep: libqt6widgets6 (>= 6.3.0)
- Qt 6 widgets module
-
- dep: libstdc++6 (>= 13.1)
- GNU 标准 C++ 库,第3版
-
- dep: libtinyxml2-10 (>= 10.0.0)
- C++ XML 解析库
-
- sug: clang
- C、C++ 和 Objective-C 编译器(基于 LLVM),clang 二进制文件
-
- sug: clang-tidy
- clang-based C++ linter tool
-
- sug: python3
- 交互式高级面向对象语言(默认 python3 版本)