https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117988
Bug ID: 117988 Summary: Logical locations for sarif-replay errors Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sarif-replay Assignee: dmalcolm at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- It would be nice if when sarif-replay reported on invalid .sarif it gave a logical location as well as a physical location, perhaps, using JSON pointer, or a nested list of JSON arrays/objects. i.e. rather than just: $ LD_LIBRARY_PATH=. ./sarif-replay -fjson-comments ../../src/gcc/testsuite/sarif-replay.dg/2.1.0-invalid/3.27.10-bad-level.sarif ../../src/gcc/testsuite/sarif-replay.dg/2.1.0-invalid/3.27.10-bad-level.sarif:12:20: error: unrecognized value for 'level': 'mostly harmless' [SARIF v2.1.0 ยง3.27.10] we'd get something like this prefix: In '/runs/results/0/':