summary refs log tree commit diff
path: root/afl-fuzz.sh
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2018-03-01 10:37:42 +0100
committervan Hauser <vh@thc.org>2018-03-01 10:37:42 +0100
commit004d0b084fa51dbf10da19d83859c0500f57dfbd (patch)
tree83470d2206c9e7ab36d6fc1b733ea8f85c27983b /afl-fuzz.sh
parentc1e6ecb1653611a50a835ee920dec1b605c809dc (diff)
downloadafl-dyninst-004d0b084fa51dbf10da19d83859c0500f57dfbd.tar.gz
stdout/stderr fix
Diffstat (limited to 'afl-fuzz.sh')
-rwxr-xr-xafl-fuzz.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/afl-fuzz.sh b/afl-fuzz.sh
index c9986c6..bb10a95 100755
--- a/afl-fuzz.sh
+++ b/afl-fuzz.sh
@@ -2,5 +2,8 @@
 test -z "$1" -o "$1" = "-h" && { echo Syntax: $0 afl-fuzz-options ; echo sets the afl-dyninst environment variables ; exit 1 ; }
 export AFL_SKIP_BIN_CHECK=1
 export DYNINSTAPI_RT_LIB=/usr/local/lib/libdyninstAPI_RT.so
-#export AFL_PRELOAD=./desock.so
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
+export AFL_EXIT_WHEN_DONE=1
+#export AFL_TMPDIR=/run/$$
+#export AFL_PRELOAD=./desock.so:./libdislocator/libdislocator.so
 afl-fuzz $*