forked from OSchip/llvm-project
Darwin-specific templates for the output tests.
These should fix the output tests on Mac. llvm-svn: 149068
This commit is contained in:
parent
360a66e3d9
commit
fabfcd8bea
|
@ -5,4 +5,4 @@ allocated by thread T0 here:
|
|||
#0 0x.* in .*mz_malloc.* _asan_rtl_
|
||||
#1 0x.* in malloc_zone_malloc.*
|
||||
#2 0x.* in malloc.*
|
||||
#3 0x.* in main heap-overflow.cc:4
|
||||
#3 0x.* in main heap-overflow.cc:[45]
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
.*ERROR: AddressSanitizer crashed on unknown address 0x0*00028 .*pc 0x.*
|
||||
AddressSanitizer can not provide additional info. ABORTING
|
||||
# atos cannot resolve the file:line info for frame 0 on the O1 level
|
||||
#0 0x.* in NullDeref.*
|
||||
#1 0x.* in main.*null_deref.cc:[67]
|
|
@ -0,0 +1,9 @@
|
|||
WRITE of size 1 at 0x.* thread T0
|
||||
#0 0x.* in wrap_strncpy
|
||||
#1 0x.* in main .*strncpy-overflow.cc:[78]
|
||||
0x.* is located 0 bytes to the right of 9-byte region
|
||||
allocated by thread T0 here:
|
||||
#0 0x.* in .*mz_malloc.* _asan_rtl_
|
||||
#1 0x.* in malloc_zone_malloc.*
|
||||
#2 0x.* in malloc.*
|
||||
#3 0x.* in main .*strncpy-overflow.cc:6
|
|
@ -0,0 +1,14 @@
|
|||
.*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 .*mz_free.* _asan_rtl_
|
||||
# We override free() on Darwin, thus no malloc_zone_free
|
||||
#1 0x.* in free
|
||||
#2 0x.* in main .*use-after-free.cc:[45]
|
||||
previously allocated by thread T0 here:
|
||||
#0 0x.* in .*mz_malloc.* _asan_rtl_
|
||||
#1 0x.* in malloc_zone_malloc.*
|
||||
#2 0x.* in malloc.*
|
||||
#3 0x.* in main .*use-after-free.cc:3
|
Loading…
Reference in New Issue