DescriptionThis patch adds support for non-fixed shadow in asan stack instrumentation.
It is required for Kernel AddressSanitizer, as the shadow offset is not known at the compile time, and the shadow may not be allocated during the early boot stages.
This option is intended to be triggered by -fsanitize=kernel-address option, together with enabling instrumentation with calls.
2014-07-21 Yury Gribov <y.gribov@samsung.com>
Alexey Preobrazhensky <preobr@google.com>
New asan-fixed-shadow-offset parameter.
gcc/
* asan.c (asan_emit_stack_protection): Add support for new parameter.
* params.def: Define new parameter.
* params.h: Likewise.
gcc/testsuite/
* c-c++-common/asan/no-fixed-shadow-offset.c: New.
Patch Set 1 #Patch Set 2 : Reupload for params.h #Patch Set 3 : Fixed test to pass #Patch Set 4 : 80 char limit #Patch Set 5 : Initialize shadow_start #
MessagesTotal messages: 1
|