[libFuzzer] Mutation tracking and logging implemented
authorMatt Morehouse <mascasa@google.com>
Mon, 9 Jul 2018 20:17:52 +0000 (20:17 +0000)
committerMatt Morehouse <mascasa@google.com>
Mon, 9 Jul 2018 20:17:52 +0000 (20:17 +0000)
commitd153d46884efd6fd4feea6f5b268efa7c6c5573a
treebb8ee688a1a2947c43418f1ed749b8a4027034dc
parentc172604dba1c036e22f0cf25b06c2d6e56205fb4
[libFuzzer] Mutation tracking and logging implemented

Code now exists to track number of mutations that are used in fuzzing in
total and ones that produce new coverage. The stats are currently being
dumped to the command line.

Patch By: Kode Williams

Differntial Revision: https://reviews.llvm.org/D48054

llvm-svn: 336597
compiler-rt/lib/fuzzer/FuzzerDriver.cpp
compiler-rt/lib/fuzzer/FuzzerFlags.def
compiler-rt/lib/fuzzer/FuzzerLoop.cpp
compiler-rt/lib/fuzzer/FuzzerMutate.cpp
compiler-rt/lib/fuzzer/FuzzerMutate.h
compiler-rt/lib/fuzzer/FuzzerOptions.h
compiler-rt/test/fuzzer/fuzzer-mutationstats.test [new file with mode: 0644]