This is an archive of the discontinued LLVM Phabricator instance.

[fuzzer][afl] Remove AFL_DRIVER_EXTRA_STATS_FILENAME
ClosedPublic

Authored by metzman on Jan 27 2019, 1:11 PM.

Details

Event Timeline

metzman created this revision.Jan 27 2019, 1:11 PM
metzman removed a reviewer: jfb.Jan 27 2019, 1:12 PM
metzman edited reviewers, added: morehouse; removed: jfb.Jan 27 2019, 1:13 PM

Matt could you please take a look.
This patch removes an unused and complicated feature in afl_driver.cpp.

Sorry @jfb, I don't need your review for this but phabricator keeps fighting me when I try to remove you.

What was the original motivation for adding the extra stats? Is it really unused now?

What was the original motivation for adding the extra stats?

The motivation for adding these stats was getting the same stats from AFL that we get from LF on CF.
In hindsight it seems slightly misguided, these stats are not as important for a fuzzer like AFL that can restart the process.

Is it really unused now?

It is unused by CF and I think it isn't really correct since there is a race condition because of the forkserver.

This revision is now accepted and ready to land.Jan 28 2019, 9:10 AM
This revision was automatically updated to reflect the committed changes.
compiler-rt/lib/fuzzer/afl/afl_driver.cpp