Skip to content

Commit

Permalink
make: nonzero exit when afl_quick detects crashes
Browse files Browse the repository at this point in the history
ci job still goes green when fuzzing fails, otherwise
  • Loading branch information
hellux committed Mar 20, 2023
1 parent 71dffed commit 76c2c1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ afl_quick:
cargo afl build --no-default-features --release --config profile.release.debug-assertions=true && \
AFL_NO_UI=1 AFL_BENCH_UNTIL_CRASH=1 \
cargo afl fuzz -i in -o out -V 60 target/release/${AFL_TARGET})
[ -z "$$(find tests/afl/out/default/crashes -type f -name 'id:*')" ]

afl_crash:
set +e; \
Expand Down

0 comments on commit 76c2c1d

Please sign in to comment.