mirror of https://github.com/google/oss-fuzz.git
Skip seed corpus unpack for Honggfuzz in bad build check (#3600)
Matches AFL, also should fix some project failures like mbedtls with many targets.
This commit is contained in:
parent
f10d55e9bc
commit
149bb8bee7
|
@ -99,7 +99,7 @@ function check_engine {
|
|||
return 1
|
||||
fi
|
||||
elif [[ "$FUZZING_ENGINE" == honggfuzz ]]; then
|
||||
timeout --preserve-status -s INT 20s run_fuzzer $FUZZER_NAME &>$FUZZER_OUTPUT
|
||||
SKIP_SEED_CORPUS=1 timeout --preserve-status -s INT 20s run_fuzzer $FUZZER_NAME &>$FUZZER_OUTPUT
|
||||
CHECK_PASSED=$(egrep "^Sz:[0-9]+ Tm:[0-9]+" -c $FUZZER_OUTPUT)
|
||||
if (( $CHECK_PASSED == 0 )); then
|
||||
echo "BAD BUILD: fuzzing $FUZZER with honggfuzz failed."
|
||||
|
|
Loading…
Reference in New Issue