diff options
Diffstat (limited to 'lib/asan/tests/use-after-free.tmpl')
-rw-r--r-- | lib/asan/tests/use-after-free.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/asan/tests/use-after-free.tmpl b/lib/asan/tests/use-after-free.tmpl new file mode 100644 index 000000000000..c4b5c74d9887 --- /dev/null +++ b/lib/asan/tests/use-after-free.tmpl @@ -0,0 +1,10 @@ +.*ERROR: AddressSanitizer heap-use-after-free on address 0x.* at pc 0x.* bp 0x.* sp 0x.* +READ of size 1 at 0x.* thread T0 + #0 0x.* in main .*use-after-free.cc:5 +0x.* is located 5 bytes inside of 10-byte region .0x.*,0x.* +freed by thread T0 here: + #0 0x.* in free + #1 0x.* in main .*use-after-free.cc:[45] +previously allocated by thread T0 here: + #0 0x.* in malloc + #1 0x.* in main .*use-after-free.cc:3 |