aboutsummaryrefslogtreecommitdiff
path: root/lib/asan/tests/use-after-free.tmpl
blob: c4b5c74d9887886da92527bc43f8cd16106e14ab (plain) (blame)
1
2
3
4
5
6
7
8
9
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