Displaying 4 results from an estimated 4 matches for "wrap_free".
2013 Jan 05
0
[LLVMdev] ASan and UBSan Test Failures
...race 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.mentor.com/embedded-software
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
....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.mentor.com...
2013 Jan 06
0
[LLVMdev] ASan and UBSan Test Failures
...gt; - // 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 E...