https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129096
Bug ID: 129096
Summary: RFE: URLify names of functions known to -fanalyzer
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: analyzer
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
In -fanalyzer messages that refer to fndecls handled by known_function
instances, we could potentially URLify the function name.
For example, in bug 129095, when writing:
(1) when 'socket' fails
we could URLify 'socket' to:
https://www.man7.org/linux/man-pages/man2/socket.2.html
We could also do this in the manpage where invoke.texi refers to names of
functions that the analyzer has special-case logic for.
Possibly implement this in succeed_or_fail_call_info::print_desc or have it
push/pop a URLifier.