[Bug sanitizer/105330] New: Asan cannot work correctly for RISC-V GCC
cooper.joshua at linux dot alibaba.com
gcc-bugzilla@gcc.gnu.org
Thu Apr 21 07:48:36 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105330
Bug ID: 105330
Summary: Asan cannot work correctly for RISC-V GCC
Product: gcc
Version: 11.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: cooper.joshua at linux dot alibaba.com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
When I use '-fsanitize=address' to compile the program, like
gcc/testsuite/gcc.dg/asan/use-after-scope-1.c and then run on Qemu, I get
AddressSanitizer: CHECK failed: sanitizer_allocator_primary32.h:292 "((res)) <
((kNumPossibleRegions))" (0x40016, 0x40000) (tid=80622)
<empty stack>
More information about the Gcc-bugs
mailing list