[Bug sanitizer/80114] asan-stack=1 with -fsanitize-address-use-after-scope and stack arrays multiplies code size

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 20 12:40:00 GMT 2017


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2017-03-20
                 CC|                            |marxin at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Well, just adding the param and -fsanitize-address-use-after-scope does not
enable any sanitization. One has to add -fsanitize=address to trigger real
sanitization. With Address Sanitizer, the code really grows, which is kind of
expected.


More information about the Gcc-bugs mailing list