summary refs log tree commit diff
path: root/afl-fuzz-dyninst.sh
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2018-03-16 12:20:58 +0100
committervan Hauser <vh@thc.org>2018-03-16 12:20:58 +0100
commit91ed32b7e29565cdb92fa3ebb395066da939be47 (patch)
treeb96c327e7ad6d85ea5e2f58fd2ade3f68b8e556e /afl-fuzz-dyninst.sh
parentec63e8c3dbea7e18bf3c2dd18d1216c5906f704e (diff)
downloadafl-dyninst-91ed32b7e29565cdb92fa3ebb395066da939be47.tar.gz
final dynamorio changes
Diffstat (limited to 'afl-fuzz-dyninst.sh')
-rwxr-xr-xafl-fuzz-dyninst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/afl-fuzz-dyninst.sh b/afl-fuzz-dyninst.sh
new file mode 100755
index 0000000..bb10a95
--- /dev/null
+++ b/afl-fuzz-dyninst.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+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 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 $*