fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

Fix saving corpus for a cycle

Open apach301 opened this issue 3 years ago • 0 comments

This PR fixes a problem with generating coverage reports for some libFuzzer-based experiments. The feature of the libFuzzer is that it quickly removes files from corpus, so it may be deleted at the time we access it in _set_corpus_dir_contents. As a result, the corpus for a specific cycle will not be archived and saved. Apparently, the coverage report generator awaits a corpus from every cycle in direct order, so HTML reports will stop updating even if the next cycle corpuses would be saved.

apach301 avatar Aug 11 '22 10:08 apach301