[PATCH] D73776: Entropic: Boosting LibFuzzer Performance

marcel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 02:58:47 PDT 2020


marcel updated this revision to Diff 250155.
marcel marked an inline comment as not done.
marcel added a comment.

In this *third revision*, we accomodate Vitaly's comments:

- Better naming (e.g., `s/Sum_Y/SumIncidence/g`)
- Initialized variables on struct `InputInfo`
- Locally, don't reuse variables but declare them anew.
- Instead of memset'ing or global array, we declare `uint16_t GlobalFeatureFreqs[kFeatureSetSize] = {};`
- We keep the entropic option, though. Hope this is okay.

In addition, we removed option "sparse_energy_updates" and made it a constant `kSparseEnergyUpdates = 10000`.

Also, good news: Entropic is coming in second @ Fuzzbench: https://www.fuzzbench.com/reports/2020-03-04/index.html


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73776/new/

https://reviews.llvm.org/D73776

Files:
  compiler-rt/lib/fuzzer/FuzzerCorpus.h
  compiler-rt/lib/fuzzer/FuzzerDriver.cpp
  compiler-rt/lib/fuzzer/FuzzerFlags.def
  compiler-rt/lib/fuzzer/FuzzerLoop.cpp
  compiler-rt/lib/fuzzer/FuzzerOptions.h
  compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73776.250155.patch
Type: text/x-patch
Size: 18791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200313/fba1b3e6/attachment-0001.bin>


More information about the llvm-commits mailing list