This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Remove mutation stats and weighted mutation selection.
ClosedPublic

Authored by Dor1s on Aug 29 2018, 12:57 PM.

Details

Summary

This was an experimental feature. After evaluating it with:

  1. https://github.com/google/fuzzer-test-suite/tree/master/engine-comparison
  1. enabling on real world fuzz targets running at ClusterFuzz and OSS-Fuzz

The following conclusions were made:

  1. With fuzz targets that have reached a code coverage plateau, the feature does not improve libFuzzer's ability to discover new coverage and may actually negatively impact it.
  1. With fuzz targets that have not yet reached a code coverage plateau, the feature might speed up new units discovery in some cases, but it is quite rare and hard to confirm with a high level on confidence.

Revert of https://reviews.llvm.org/D48054 and https://reviews.llvm.org/D49621.

Diff Detail

Event Timeline

Dor1s created this revision.Aug 29 2018, 12:57 PM
Herald added subscribers: Restricted Project, delcypher. · View Herald TranscriptAug 29 2018, 12:57 PM
metzman accepted this revision.Aug 29 2018, 1:01 PM

LGTM

This revision is now accepted and ready to land.Aug 29 2018, 1:01 PM
This revision was automatically updated to reflect the committed changes.
lib/fuzzer/FuzzerMutate.cpp