On Thu, Jun 1, 2017 at 9:40 AM, steven shi <[email protected]> wrote: > Hello, > I'm trying to enable the gcc asan on my bare-mental firmware after llvm. I > need to set the GCC Asan shadow memory value dynamically, but I cannot find > proper gcc build option to do it. With Clang, I can use "-mllvm > -asan-force-dynamic-shadow=true" build option and assign the dynamic shadow > address in the module entry as "__asan_shadow_memory_dynamic_address = > DynamicShadowAddress". What's the equivalent build option in gcc?
AFAIK this isn't supported in GCC and I'm not sure that this works in Clang either. AArch64 folks asked for dynamic shadow but Asan developers were concerned about potential performance implications so it went nowhere... -I -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
