Log the iterations without improvement
This commit is contained in:
parent
49ea546adf
commit
56384a7745
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ while [[ $iters_without_improvement -lt $MAX_ITERS_WITHOUT_IMPROVEMENT ]]; do
|
|||
./recursive-fuzz-cmin.sh "$1" "$2"
|
||||
if diff "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_old"; then
|
||||
iters_without_improvement=$(( iters_without_improvement + 1 ))
|
||||
echo "$iters_without_improvement iterations without improvement"
|
||||
else
|
||||
iters_without_improvement=0
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue