[Bug sanitizer/58937] Preloaded libasan segfaults on unsanitized executables

eugeni.stepanov at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 15 08:53:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58937

--- Comment #13 from Evgeniy Stepanov <eugeni.stepanov at gmail dot com> ---
(In reply to Yury Gribov from comment #12)
> (In reply to Evgeniy Stepanov from comment #8)
> > ... one of the ASan interceptors
> > that does ENSURE_ASAN_INITED().
> > Arguably, all interceptors should do it.
> 
> Can we force all interceptors to do this?

I think it would be a good thing to do.
Some interceptors are special in that they are allowed during __asan_init (ex.
memmove). Something like COMMON_INTERCEPTOR_ENTER in asan_interceptors.cc could
probably be applied safely to all interceptors.



More information about the Gcc-bugs mailing list