[Bug sanitizer/59353] -fsanitize=return is not documented
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 30 13:44:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59353
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2013-11-30
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
Target Milestone|--- |4.9.0
Ever confirmed|0 |1
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
As for the doc, I'll do it.
But note that -fsanitize=return and -fsanitize=use-after-return are two
different options: -fsanitize=return is a part of ubsan and checks that the
function doesn't have a missing "return" statement (currently done only for
C++).
-fsanitize=use-after-return is described in the link you provided and is a part
of asan.
More information about the Gcc-bugs
mailing list