summary refs log tree commit diff
path: root/afl-fuzz-dyninst.sh
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-09-19 17:18:25 +0200
committervan Hauser <vh@thc.org>2019-09-19 17:18:25 +0200
commit4de90843e7f77b95818d987c3c0994b86c77e9ef (patch)
tree776bb46f02c666158fbc4a0578a1f699cf85e5f1 /afl-fuzz-dyninst.sh
parentc2f14ea01b9060d0b95719ff01d2ac6a2b38dcb3 (diff)
downloadafl-dyninst-4de90843e7f77b95818d987c3c0994b86c77e9ef.tar.gz
update to work with dyninst 10.0.1
Diffstat (limited to 'afl-fuzz-dyninst.sh')
-rwxr-xr-xafl-fuzz-dyninst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/afl-fuzz-dyninst.sh b/afl-fuzz-dyninst.sh
index eceb678..710c558 100755
--- a/afl-fuzz-dyninst.sh
+++ b/afl-fuzz-dyninst.sh
@@ -1,12 +1,12 @@
 #!/bin/bash
 test -z "$1" -o "$1" = "-h" && { echo Syntax: $0 afl-fuzz-options ; echo sets the afl-dyninst environment variables ; exit 1 ; }
-sysctl -w kernel.core_pattern=core > /dev/null
-sysctl -w kernel.randomize_va_space=0 > /dev/null
-echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor > /dev/null
+#
+# remember to run afl-system-config !
+#
 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_EXIT_WHEN_DONE=1
 #export AFL_TMPDIR=/run/$$
 #export AFL_PRELOAD=./desock.so:./libdislocator/libdislocator.so
 afl-fuzz $*