Hi, четверг, 1 июня 2017 г., 14:27:16 UTC+3 пользователь Yuri Gribov написал: > > On Thu, Jun 1, 2017 at 11:51 AM, steven shi <shiju...@gmail.com > <javascript:>> wrote: > > Clang does works, at least for X64, and I have depended on it to enable > the > > LLVM Asan in my Uefi firmware. I can see the related patch is here: > > https://reviews.llvm.org/D23354. Although this patch say it is for > Windows > > 64bits, but I think this patch is architecture independent, isn't it? > > > > The dynamic shadow address is very important for my firmware enabling, > > because my firmware directly map virtual address to physical, and it > doesn't > > have sophisticated memory page managements. The Asan shadow memory is > > allocated according to platform memory real size which could be > different > > from boot to boot and different from platform to platform. Set the > dynamic > > shadow address is the easiest way to enable Asan in my firmware. > > Yup, many people have expressed desire for dynamic shadow for similar > reasons. > > > Does Asan developers have plan to port the D23354 patch to gcc main > trunk? > > The D23354 functionality already meet my firmware requirement. I guess > it > > should not too difficult. > > Cc Max. >
AFAIK there aren't any plans on implementing dynamic shadow on GCC side. But we can consider it, the patch shouldn't be hard to implement. -Maxim > > -Y > -- 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 address-sanitizer+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.