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

kcc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 12 08:16:00 GMT 2013


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

--- Comment #6 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
adding attribute ctor to __asan_init is questionable
- windows has different syntax.
- running non-instrumented binary w/o calling __asan_init at startup is risky:
the binary may call memset/etc an touch shadow memory, which is not initialized
before __asan_init



More information about the Gcc-bugs mailing list