[PATCH] D48054: [libFuzzer] Mutation tracking and logging implemented
Matt Morehouse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 11 14:09:23 PDT 2018
morehouse added inline comments.
================
Comment at: lib/fuzzer/FuzzerMutate.cpp:530
ToASCII(Data, NewSize);
- CurrentMutatorSequence.push_back(M);
+ if (!EF->LLVMFuzzerCustomMutator) {
+ CurrentMutatorIdxSequence.push_back(MutatorIdx);
----------------
I don't like this solution. If we don't want to support mutation stats for custom mutators, we should print an error and exit before any fuzzing happens.
Otherwise, we should make stats work with custom mutators too.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D48054
More information about the llvm-commits
mailing list