From dff4bfabfb098719c49027069966429e6b4fd756 Mon Sep 17 00:00:00 2001 From: xwings Date: Thu, 10 Aug 2023 18:07:32 +0800 Subject: [PATCH] since shell script using sh, if [[]] is a bash specific syntan. i change it to a note, avoid the auto install --- examples/fuzzing/linux_x8664/fuzz.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/examples/fuzzing/linux_x8664/fuzz.sh b/examples/fuzzing/linux_x8664/fuzz.sh index 49fe40e6e..4988fb289 100755 --- a/examples/fuzzing/linux_x8664/fuzz.sh +++ b/examples/fuzzing/linux_x8664/fuzz.sh @@ -1,11 +1,12 @@ #!/usr/bin/sh set -e -if [[ ! -d ./AFLplusplus ]]; then - git clone https://github.com/AFLplusplus/AFLplusplus.git - cd AFLplusplus - make - cd ./unicorn_mode - ./build_unicorn_support.sh - cd ../../ -fi + +# git clone https://github.com/AFLplusplus/AFLplusplus.git +# cd AFLplusplus +# make +# cd ./unicorn_mode +# ./build_unicorn_support.sh +# cd ../../ +# fi + AFL_AUTORESUME=1 AFL_PATH="$(realpath ./AFLplusplus)" PATH="$AFL_PATH:$PATH" afl-fuzz -i afl_inputs -o afl_outputs -U -- python3 ./fuzz_x8664_linux.py @@