Debian Codegraph @

gcc/testsuite/c-c++-common/hwasan/large-aligned-1.c

raw
1 /* { dg-do run } */
2 /* { dg-require-effective-target hwaddress_exec } */
3 /* { dg-shouldfail "hwasan" } */
4
5 #define ARG 12
6 #include "large-aligned-0.c"
7 #undef ARG
8
9 /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */
10 /* NOTE: This assumes the current tagging mechanism (one at a time from the
11 base and large aligned variables being handled first). */
12 /* { dg-output "READ of size 4 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\].* \\(ptr/mem\\) in thread T0.*" } */
13 /* { dg-output "Address 0x\[0-9a-f\]* is located in stack of thread T0.*" } */
14 /* { dg-output "SUMMARY: HWAddressSanitizer: tag-mismatch \[^\n\]*.*" } */