https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117944

            Bug ID: 117944
           Summary: sarif-replay doesn't provide URLs for warnings
           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: ---

See e.g.:
$ LD_LIBRARY_PATH=. ./sarif-replay -fjson-comments
../../src/gcc/testsuite/sarif-replay.dg/2.1.0-valid/signal-1.c.sarif 
In function 'custom_logger':
../../src/gcc/testsuite/gcc.dg/analyzer/signal-1.c:13:3: warning: call to
‘fprintf’ from within signal handler
[-Wanalyzer-unsafe-call-within-signal-handler]
[...snip...]

we ought to have a URL for the warning name (in
"[-Wanalyzer-unsafe-call-within-signal-handler]"), and it's in the SARIF, but
sarif-replay doesn't print it.

Reply via email to