Displaying 4 results from an estimated 4 matches for "malloc_zone_free".
2013 Jan 05
0
[LLVMdev] ASan and UBSan Test Failures
...;free_common' in r158885.
I think fixing the stack trace checks in use-after-free.cc will do:
- // CHECK-Darwin: {{ #0 0x.* in .*free_common.*}}
- // CHECK-Darwin: {{ #1 0x.* in .*mz_free.*}}
+ // CHECK-Darwin: {{ #0 0x.* in .*mz_free.*}}
// We override free() on Darwin, thus no malloc_zone_free
- // CHECK-Darwin: {{ #2 0x.* in _?wrap_free}}
- // CHECK-Darwin: {{ #3 0x.* in _?main .*use-after-free.cc:21}}
+ // CHECK-Darwin: {{ #1 0x.* in _?wrap_free}}
+ // CHECK-Darwin: {{ #2 0x.* in _?main .*use-after-free.cc:21}}
--
Meador Inge
CodeSourcery / Mentor Embedded
http://www.m...
2013 Jan 05
2
[LLVMdev] ASan and UBSan Test Failures
I am building LLVM on OS X 10.7.5 with cmake. Under this configuration some ASan and UBSan tests
are failing:
$ make check-ubsan
…
********************
Testing Time: 2.36s
********************
Failing Tests (11):
UndefinedBehaviorSanitizer :: Float/cast-overflow.cpp
UndefinedBehaviorSanitizer :: Integer/add-overflow.cpp
UndefinedBehaviorSanitizer :: Integer/div-zero.cpp
2013 Jan 06
2
[LLVMdev] ASan and UBSan Test Failures
...> I think fixing the stack trace checks in use-after-free.cc will do:
>
> - // CHECK-Darwin: {{ #0 0x.* in .*free_common.*}}
> - // CHECK-Darwin: {{ #1 0x.* in .*mz_free.*}}
> + // CHECK-Darwin: {{ #0 0x.* in .*mz_free.*}}
> // We override free() on Darwin, thus no malloc_zone_free
> - // CHECK-Darwin: {{ #2 0x.* in _?wrap_free}}
> - // CHECK-Darwin: {{ #3 0x.* in _?main .*use-after-free.cc:21}}
> + // CHECK-Darwin: {{ #1 0x.* in _?wrap_free}}
> + // CHECK-Darwin: {{ #2 0x.* in _?main .*use-after-free.cc:21}}
>
> --
> Meador Inge
> Cod...
2013 Jan 06
0
[LLVMdev] ASan and UBSan Test Failures
...stack trace checks in use-after-free.cc will do:
> >
> > - // CHECK-Darwin: {{ #0 0x.* in .*free_common.*}}
> > - // CHECK-Darwin: {{ #1 0x.* in .*mz_free.*}}
> > + // CHECK-Darwin: {{ #0 0x.* in .*mz_free.*}}
> > // We override free() on Darwin, thus no malloc_zone_free
> > - // CHECK-Darwin: {{ #2 0x.* in _?wrap_free}}
> > - // CHECK-Darwin: {{ #3 0x.* in _?main .*use-after-free.cc:21}}
> > + // CHECK-Darwin: {{ #1 0x.* in _?wrap_free}}
> > + // CHECK-Darwin: {{ #2 0x.* in _?main .*use-after-free.cc:21}}
> >
> >...