diff options
author | Dan Liew <dan@su-root.co.uk> | 2019-01-21 01:41:01 +0000 |
---|---|---|
committer | Dan Liew <dan@su-root.co.uk> | 2019-01-21 01:41:01 +0000 |
commit | 4dd0bf94871ffde083ef7becc861ca7c8bbc9bc2 (patch) | |
tree | 6f2469ca655ef9d0e03a8d00242413a9f0d1c581 /compiler-rt/test/fuzzer/buffer-overflow-on-input.test | |
parent | 9c178356e08a2c19831af7ebfed534b1511d0a47 (diff) | |
download | bcm5719-llvm-4dd0bf94871ffde083ef7becc861ca7c8bbc9bc2.tar.gz bcm5719-llvm-4dd0bf94871ffde083ef7becc861ca7c8bbc9bc2.zip |
On Darwin allow for sanitizer malloc implementations to provide a zone
enumerator.
This is done by defining `COMMON_MALLOC_HAS_ZONE_ENUMERATOR` to `1` and
then by providing an implementation of the `mi_enumerator(...)` function.
If a custom implementation isn't desired the macro is set to `0` which
causes a stub version (that fails) to be used.
Currently all Darwin sanitizers that have malloc implementations define
this to be `0` so there is no functionality change.
rdar://problem/45284065
llvm-svn: 351711
Diffstat (limited to 'compiler-rt/test/fuzzer/buffer-overflow-on-input.test')
0 files changed, 0 insertions, 0 deletions