bazelbuild / rules_fuzzing

Bazel Starlark extensions for defining fuzz tests in Bazel projects
Apache License 2.0
82 stars 19 forks source link

Freture: add ability to reduce corpus #167

Closed eustas closed 3 years ago

eustas commented 3 years ago

Currently there are options to set the seed corpus and set output corpus.

Though, for CI it would be beneficial to produce condensed corpus after running fuzzer for a while (similar to -merge=1 libFuzzer option).

This condensed corpus could be used as a seed for the next run.

eustas commented 3 years ago

(actually, it seems that "reduce" report works differently than in libFuzzer and replaces the corpus item instead of adding a new one, so this issue could be closed right away)