[ 源代码: cppcheck ]
软件包:cppcheck-gui(1.86-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: libc6 (>= 2.14) [amd64]
- GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
- dep: libc6 (>= 2.17) [arm64]
- dep: libc6 (>= 2.4) [armhf, i386]
-
- dep: libgcc1 (>= 1:3.0) [amd64, arm64]
- GCC 支持库
- dep: libgcc1 (>= 1:3.5) [armhf]
- dep: libgcc1 (>= 1:4.2) [i386]
-
- dep: libgl1 [除 armhf]
- 发行方中立的 GL 调度库 -- 过时的 GL 支持
-
- dep: libgles2 [armhf]
- Vendor neutral GL dispatch library -- GLESv2 support
同时作为一个虚包由这些包填实: mali-t62x-fbdev-driver, mali-t62x-wayland-driver, mali-t62x-x11-driver, mali-t76x-fbdev-driver, mali-t76x-wayland-driver, mali-t76x-x11-driver
-
- dep: libpcre3
- 与旧版 Perl 5 兼容的正则表达式库 - 运行文件
-
- dep: libqt5core5a (>= 5.11.0~rc1) [amd64, i386]
- Qt 5 核心模块
- dep: libqt5core5a (>= 5.5.0) [arm64, armhf]
-
- dep: libqt5gui5 (>= 5.2.0~alpha1)
- Qt 5 GUI module
-
- dep: libqt5printsupport5 (>= 5.0.2)
- Qt 5 print support module
-
- dep: libqt5widgets5 (>= 5.11.0~rc1)
- Qt 5 widgets 模块
-
- dep: libstdc++6 (>= 5.2)
- GNU 标准 C++ 库,第3版
-
- dep: libtinyxml2-6a (>= 5.0.0)
- C++ XML 解析库