GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
sarif-replay

Sarif-replay: Decode event IDs [PR123056]

Enables sarif-replay to decode event IDs within execution paths for round-trip SARIF processing.

This commit enhances sarif-replay to decode event IDs in execution paths, allowing round-tripping of SARIF data. By attempting to decode intra-SARIF links into event IDs, the replayer can better preserve and interpret execution path information. This improves the accuracy of analysis when replaying SARIF logs.

In Details

This change introduces the ability to decode event IDs within execution paths in sarif-replay. It involves adding a decode_link_within_sarif method to sarif_replayer to interpret intra-SARIF links and convert them into event IDs. The primary file affected is libsarifreplay.cc.

For Context

This commit enhances GCC's sarif-replay tool, which is used to process and interpret Static Analysis Results Interchange Format (SARIF) files. The update allows the tool to decode event IDs within execution paths, enabling more accurate round-trip processing of SARIF data. This improvement is crucial for maintaining analysis fidelity when SARIF logs are replayed.

Filed Under: sarifdiagnosticsbugfix