[PATCHv3][Kasan][PING] Allow to override Asan shadow offset from command line

Yury Gribov y.gribov@samsung.com
Mon Sep 29 17:21:00 GMT 2014


Hi all,

>> Kasan developers has asked for an option to override offset of Asan
>> shadow memory region. This should simplify experimenting with memory
>> layouts on 64-bit architectures.

New patch which checks that -fasan-shadow-offset is only enabled for 
-fsanitize=kernel-address. I (unfortunately) can't make this --param 
because this can be a 64-bit value.

Bootstrapped and regtested on x64.

-Y
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asan-shadow-offset-3.diff
Type: text/x-diff
Size: 7319 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140929/105f6afa/attachment.bin>


More information about the Gcc-patches mailing list