Skip to content

ci: add GCC -fanalyzer static analysis workflow#3

Open
agabhin wants to merge 1 commit into
masterfrom
add-gcc-fanalyzer-ci
Open

ci: add GCC -fanalyzer static analysis workflow#3
agabhin wants to merge 1 commit into
masterfrom
add-gcc-fanalyzer-ci

Conversation

@agabhin

@agabhin agabhin commented Mar 24, 2026

Copy link
Copy Markdown
Owner

Summary

Add a separate GitHub Actions workflow for GCC's -fanalyzer inter-procedural
static analysis. Uses the system GCC which includes fd-leak tracking. Complements
CodeQL by catching memory leaks and fd leaks on error paths that require
state-machine modeling across function boundaries.

Test Plan

  • Verify workflow runs on GitHub Actions
  • Review -fanalyzer findings (27 on current codebase) and fix before merging to upstream

@agabhin agabhin force-pushed the add-gcc-fanalyzer-ci branch from b345ba6 to 82c4428 Compare March 24, 2026 20:56
Add a separate GitHub Actions workflow for GCC's -fanalyzer
inter-procedural static analysis. Uses the system GCC (13+)
which includes fd-leak tracking and improved false-positive rates
over earlier versions. Complements CodeQL by catching memory leaks
and fd leaks on error paths that require state-machine modeling
across function boundaries.

Signed-off-by: Abhinav Agarwal <abhinav.agarwal@rubrik.com>
@agabhin agabhin force-pushed the add-gcc-fanalyzer-ci branch from 82c4428 to 3b6f3cb Compare April 7, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant