This is an archive of the discontinued LLVM Phabricator instance.

[libfuzzer] simplified unit truncation; do not write trunc items to disc
ClosedPublic

Authored by aizatsky on Aug 30 2016, 11:44 AM.

Diff Detail

Event Timeline

aizatsky updated this revision to Diff 69736.Aug 30 2016, 11:44 AM
aizatsky retitled this revision from to [libfuzzer] simplified unit truncation; do not write trunc items to disc.
aizatsky updated this object.
aizatsky added a project: Restricted Project.
aizatsky added a subscriber: llvm-commits.
kcc accepted this revision.Aug 30 2016, 11:59 AM
kcc edited edge metadata.

LGTM with nits

lib/Fuzzer/FuzzerLoop.cpp
379

if (!S) continue;

387

Printf("INFO: TRUNC: %zd truncated units added to the in-memory corpus", ...);

This revision is now accepted and ready to land.Aug 30 2016, 11:59 AM
This revision was automatically updated to reflect the committed changes.
aizatsky marked 2 inline comments as done.