summary refs log tree commit diff
path: root/afl-fuzz-dyninst.sh
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-07 11:41:13 +0100
committervan Hauser <vh@thc.org>2020-02-07 11:41:13 +0100
commit7f264629548d9a2fbbaea4fc2bbbeb453b29259a (patch)
treec4e5be33cbe056fa3f84924fb6a2ae8a8cb2ad14 /afl-fuzz-dyninst.sh
parentf65f99bd073b4fe7f872c3119abcec249f6aee27 (diff)
downloadafl-dyninst-7f264629548d9a2fbbaea4fc2bbbeb453b29259a.tar.gz
more docker fixes
Diffstat (limited to 'afl-fuzz-dyninst.sh')
-rwxr-xr-xafl-fuzz-dyninst.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/afl-fuzz-dyninst.sh b/afl-fuzz-dyninst.sh
index 710c558..aef3244 100755
--- a/afl-fuzz-dyninst.sh
+++ b/afl-fuzz-dyninst.sh
@@ -5,7 +5,8 @@ test -z "$1" -o "$1" = "-h" && { echo Syntax: $0 afl-fuzz-options ; echo sets th
 #
 export AFL_SKIP_BIN_CHECK=1
 export DYNINSTAPI_RT_LIB=/usr/local/lib/libdyninstAPI_RT.so
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:.
+echo " $*" | grep -q " -m" && { echo "Warning: no -m memory option specified!" ; sleep 1 ; }
 #export AFL_EXIT_WHEN_DONE=1
 #export AFL_TMPDIR=/run/$$
 #export AFL_PRELOAD=./desock.so:./libdislocator/libdislocator.so