实则不然。 在此,强烈推荐使用 Cppcheck 这款开源免费的静态代码分析工具。 Cppcheck 拥有诸多优势,一方面,它支持对 C 和 C++ 代码进行广泛且细致的检查,无论是常见的空指针引用、数组越界、内存泄漏等经典错误,还是较为隐晦的未初始化变量使用、逻辑运算优先级混淆等问题,都能被有效识别。 另一方面,它具有出色的...
作为编译器的一种补充检查,cppcheck对产品的源代码执行严格的逻辑检查,还支持第三方的代码规则检查,譬如最常见的汽车行业的规范misra,目前github上的资源https://github.com/danmar/cppcheck的资源,可以检查misra相关的规则,但无法输出misra的详细信息,本资源可以,是在github上的资源上添加了misra相关的资源文件,是参考...
check - Check is a unit testing framework for C. [LGPL-2.1] website doctest - The lightest feature rich C++ single header testing framework. [MIT] Catch2 - A modern, C++-native, test framework for unit-tests, TDD and BDD. [Boost] Celero - C++ Benchmarking Framework. [Apache2] CppUTes...
PCLint培训手册 PCLint培训手册 上传者:zhanglidn013时间:2010-11-28 MISRA-Cpp-2008-Eng.pdf MISRA Cpp 2008标准英文版,自动驾驶等行业的代码规范。 MISRA C是由汽车产业软件可靠性协会(MISRA)提出的C语言开发标准。其目的是在增进嵌入式系统的安全性及可移植性。针对C++语言也有对应的标准MISRA C++。 MISRA C一...
3年前 .travis.yml Travis-CI: Allow duplicate links, skip SSL error 6年前 CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 8年前 CONTRIBUTING.md Fix Typo in CONTRIBUTING.md 3年前 LICENSE Update LICENSE 4年前 README.md Add MPH (hash function library) (#1574) 7个月...
cppcheckmisra UpdatedJan 4, 2021 Python cmake swiss army knife github docker action lintdockercoveragecmakevalgrindcppcheckclang-tidyiwyugithub-actionsgithub-actions-dockerclang-sanitizers UpdatedFeb 27, 2025 Python Configure some pre-commit hooks for some c++ tools ...
Run "make" in the terminal to build cppcheck. For debugging create a launch.json file in the .vscode folder with the following content, which covers configuration for debugging cppcheck and misra.py: { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of...
Linticator - Eclipse CDT integration of Pc-/FlexeLint. IKOS - Static analyzer for C/C++ based on the theory of Abstract Interpretation. [NOSA 1.3] List of tools for static code analysis - A list of tools for static code analysis from Wikipedia. OptView2 - Inspect missed Clang optimizations...
Linticator - Eclipse CDT integration of Pc-/FlexeLint. IKOS - Static analyzer for C/C++ based on the theory of Abstract Interpretation. [NOSA 1.3] List of tools for static code analysis - A list of tools for static code analysis from Wikipedia. OptView2 - Inspect missed Clang optimizations...
3年前 .travis.yml Travis-CI: Allow duplicate links, skip SSL error 6年前 CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 8年前 CONTRIBUTING.md Fix Typo in CONTRIBUTING.md 3年前 LICENSE Update LICENSE 4年前 README.md Add MPH (hash function library) (#1574) 7个月...