GCC Newspaper
NOVEMBER 30, 2026
gcc — Proposed

New support repository: gcc-analyzer-benchmarks

A new repository 'gcc-analyzer-benchmarks' is created to provide a harness for testing GCC's static analyzer (-fanalyzer) with various third-party benchmarking…

David Malcolm has created a new, standalone repository named ‘gcc-analyzer-benchmarks’ to serve as a harness for testing GCC’s static analyzer, ‘-fanalyzer’. This tool, ‘gab’, aims to standardize the process of running third-party benchmarking suites, generating scores, and comparing results. It addresses the current inconsistencies in how these suites express ground truth, build flags, and dependencies.

In the Thread 1 participant
  1. David Malcolm <dmalcolm@redhat.com> proposer

    Introduces a new repository containing a benchmarking harness ('gab') for GCC's static analyzer (-fanalyzer).

    “So I've created a new harness for using them for testing GCC's -fanalyzer option: https://github.com/davidmalcolm/gcc-analyzer-benchmarks running them, generating scores, diffing two runs, etc. The tool is called "gab":”

In Details

This is about a new external repository, 'gcc-analyzer-benchmarks', which provides a standardized harness ('gab') for evaluating GCC's static analysis pass (-fanalyzer). It aggregates and runs various third-party benchmark suites, aiming to simplify the process of testing the analyzer's effectiveness across different codebases and configurations.

For Context
-fanalyzer
A GCC compiler flag that enables the built-in static analyzer, which attempts to find bugs in code without executing it.
static analysis
The analysis of computer software that is performed non-dynamically, i.e., without actually executing the program. Static analyzers analyze code to find potential bugs, security vulnerabilities, and style violations.
benchmarking suite
A collection of programs or test cases designed to evaluate the performance or correctness of a system or tool, in this case, a static analyzer.
harness
A framework or set of tools used to automate the testing and evaluation of software components.
CWE
Common Weakness Enumeration; a list of software security weakness types that can be used as a common language for describing security weaknesses in software.
Filed Under: gccstatic analysisbenchmarkingtesting