SARIF support in GCC

The Static Analysis Results Interchange Format (SARIF) "is an industry standard format for the output of static analysis tools".

GCC's statement of use in the SARIF specification's issue tracker can be seen here

GCC as a SARIF producer

GCC 13 onwards can output its diagnostics in SARIF format.

User-facing documentation: -fdiagnostics-format=sarif-{stdout,stderr}

Implementation: gcc/diagnostic-format-sarif.cc

History of GCC as a SARIF producer

GCC 15 (under development)

GCC 14

GCC 13

GCC as a SARIF consumer

GCC does not yet have support for accepting SARIF as input.

History of GCC as a SARIF consumer

Bugs relating to GCC SARIF support

There is a "SARIF" keyword in GCC's bug tracker for bugs relating to GCC's SARIF support.

By keyword:

By text:

None: SARIF (last edited 2024-07-27 00:49:22 by DavidMalcolm)