diff options
author | hexcoder- <heiko@hexco.de> | 2019-10-23 14:53:05 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2019-10-23 14:53:05 +0200 |
commit | b9bc81544a438868529fbe040f4734256dce7a1d (patch) | |
tree | 647677e44a60f3aac12152121c64a05a04e0ac1e /test | |
parent | 7d9eed0ed5a57f16b15fe2576da4aec79e0909c9 (diff) | |
download | afl++-b9bc81544a438868529fbe040f4734256dce7a1d.tar.gz |
debugged and fixed libdislocator malfunction on MacOSX
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index d1be014f..598fb502 100755 --- a/test/test.sh +++ b/test/test.sh @@ -281,8 +281,8 @@ test -e ../libtokencap.so && { test -e ../libdislocator.so && { { ulimit -c 1 - # DYLD_INSERT_LIBRARIES is used on Darwin/MacOSX - LD_PRELOAD=../libdislocator.so DYLD_INSERT_LIBRARIES=../libdislocator.so ./test-compcov BUFFEROVERFLOW > test.out 2> /dev/null + # DYLD_INSERT_LIBRARIES and DYLD_FORCE_FLAT_NAMESPACE is used on Darwin/MacOSX + LD_PRELOAD=../libdislocator.so DYLD_INSERT_LIBRARIES=../libdislocator.so DYLD_FORCE_FLAT_NAMESPACE=1 ./test-compcov BUFFEROVERFLOW > test.out 2> /dev/null } > /dev/null 2>&1 grep -q BUFFEROVERFLOW test.out > /dev/null 2>&1 && { $ECHO "$RED[!] libdislocator did not detect the memory corruption" |