This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/65285] __asan_describe_address crashes when used with global variable
- From: "kcc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Mar 2015 00:02:13 +0000
- Subject: [Bug sanitizer/65285] __asan_describe_address crashes when used with global variable
- Auto-submitted: auto-generated
- References: <bug-65285-4 at http dot gcc dot gnu dot org/bugzilla/>
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?