Re: [asan] Never use memset for clearing of shadow mem in epilogues (PR fortran/55341)
Jakub Jelinek writes: > 2012-12-19 Jakub Jelinek > > PR fortran/55341 > * asan.c (asan_clear_shadow): New function. > (asan_emit_stack_protection): Use it. This looks OK to me. Thanks. -- Dodji
[asan] Never use memset for clearing of shadow mem in epilogues (PR fortran/55341)
Hi! clear_storage sometimes emits a library call instead of clearing storage by pieces, rep stos* and similar, unfortunately if it is a call that libasan intercepts (memset), it fails because it doesn't allow writes into shadow mem. Fixed by scanning the clear_storage sequence if there are any ca