This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/65285] __asan_describe_address crashes when used with global variable


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65285

--- Comment #6 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
> How does your GCC behave with the test case? The sanitizer code in GCC is
> imported from Clang, I believe, so it probably does not crash either?

I get this: 
~/gcc-inst/bin/gcc -fsanitize=address -static-libasan   d.c && ./a.out 
AddressSanitizer can not describe address in more detail (wild memory access
suspected).

Did you check the GCC trunk?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]