Skip to content

Commit

Permalink
Do not expect afl binary if 'raw' input mode set
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubasze committed Oct 4, 2023
1 parent 35d7daf commit 3fff784
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fuzz-tests/fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ function generate_input() {
fi

if check_target_available $target ; then
if [ ! -f target-afl/release/${target} ] ; then
# in 'raw' mode we don't need afl binary
if [ ! -f target-afl/release/${target} -a $mode != "raw" ] ; then
echo "target binary 'target-afl/release/${target}' not built. Call below command to build it"
echo "$THIS_SCRIPT afl build"
echo "$THIS_SCRIPT afl build $target"
exit 1
fi

Expand Down

0 comments on commit 3fff784

Please sign in to comment.