diff options
author | van Hauser <vh@thc.org> | 2018-04-02 08:22:00 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2018-04-02 08:22:00 +0200 |
commit | f571cf145ca1f6dc6c503770c3b132e5d1ffc1d9 (patch) | |
tree | 8627a16256afdca8766aaa9f548e47ccfc6d9465 /afl-fuzz-dyninst.sh | |
parent | f2f50c27be37b74beb654c48f9f4f64398d5785b (diff) | |
download | afl-dyninst-f571cf145ca1f6dc6c503770c3b132e5d1ffc1d9.tar.gz |
-e function support, PPC and AARCH64 support, more entrypoints, more verbose
Diffstat (limited to 'afl-fuzz-dyninst.sh')
-rwxr-xr-x | afl-fuzz-dyninst.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/afl-fuzz-dyninst.sh b/afl-fuzz-dyninst.sh index bb10a95..b5370cb 100755 --- a/afl-fuzz-dyninst.sh +++ b/afl-fuzz-dyninst.sh @@ -1,5 +1,8 @@ #!/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 export AFL_SKIP_BIN_CHECK=1 export DYNINSTAPI_RT_LIB=/usr/local/lib/libdyninstAPI_RT.so export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. |