[Bug sanitizer/69863] no_sanitize_address doesn't disable stack instrumentation
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 18 17:16:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69863
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Feb 18 17:15:25 2016
New Revision: 233524
URL: https://gcc.gnu.org/viewcvs?rev=233524&root=gcc&view=rev
Log:
Do not emit red stack zones for a fn with no_sanitize_address
PR sanitizer/69863
* cfgexpand.c (asan_sanitize_stack_p): New function.
(partition_stack_vars): Use the function.
(expand_stack_vars): Likewise.
(defer_stack_allocation): Likewise.
(expand_used_vars): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgexpand.c
More information about the Gcc-bugs
mailing list