Skip to content

Commit

Permalink
Merge pull request #1370 from xwings/dev
Browse files Browse the repository at this point in the history
since shell script using sh, if [[]] is a bash specific syntax
  • Loading branch information
xwings authored Aug 10, 2023
2 parents 9a78d18 + dff4bfa commit 8f02953
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions examples/fuzzing/linux_x8664/fuzz.sh
Original file line number Diff line number Diff line change
@@ -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 @@

0 comments on commit 8f02953

Please sign in to comment.