“Static Analysis with the Yocto Project”
summary
Adds reproducible static analysis into BitBake builds by either compiling with metaclang + scan-build (clang-based, per-package scan view) or by logging compiler calls and replaying them with meta-codechecker + CodeChecker (captures gcc builds, replays with clang-tidy/scan, uploads results to a web UI). Demonstration builds BusyBox (reports ~366 findings) and acl, produces HTML reports and a CodeChecker server; scan-build is interactive per package and blocks, CodeChecker stores runs and diffs but needs server auth, config tuning, and heavier resources.
AI-written summary · about
chapters (16)
- 0:00Start
- 1:36What Is Static Analysis
- 5:57Open Source Tools
- 9:09Clang Tidy
- 10:13Cpp Check
- 11:18The Metaclang Layer
- 19:38Code Checker
- 27:45Prerequisites
- 29:46Summary
- 32:47What's To Do for Meta Code Checker
- 37:32Web Ui
- 43:37Does Code Checker Work with qt Mock
- 44:15Which Tool You Recommend for Gcc Build Environment
- 58:20Why Static Code Analysis Happens before Compilation
- 1:12:25Does Aagl Uses Clang a Static Code Analysis Tool
- 1:34:08Tuning of the Checker
