This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Merge: print stats after reading the output corpus dir.
ClosedPublic

Authored by Dor1s on Aug 9 2019, 11:03 AM.

Details

Summary

The purpose is to be able to extract the number of new edges added to
the original (i.e. output) corpus directory after doing the merge. Use case
example: in ClusterFuzz, we do merge after every fuzzing session, to avoid
uploading too many corpus files, and we also record coverage stats at that
point. Having a separate line indicating stats after reading the initial output
corpus directory would make the stats extraction easier for both humans and
parsing scripts.

Context: https://github.com/google/clusterfuzz/issues/802.

Diff Detail

Repository
rL LLVM

Event Timeline

Dor1s created this revision.Aug 9 2019, 11:03 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 9 2019, 11:03 AM
Herald added subscribers: llvm-commits, Restricted Project, delcypher. · View Herald Transcript
Dor1s updated this revision to Diff 214409.Aug 9 2019, 11:12 AM

Use LOADED instead of INITED, plus fix alignment of keywords in the log

hctim accepted this revision.Aug 9 2019, 11:14 AM
This revision is now accepted and ready to land.Aug 9 2019, 11:14 AM
This revision was automatically updated to reflect the committed changes.