[PATCH] D30683: [libFuzzer] Use ChooseUnitIdxToMutate to pick item for crossover.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 12:37:11 PST 2017
vitalybuka added inline comments.
================
Comment at: lib/Fuzzer/FuzzerMutate.h:91
- void SetCorpus(const InputCorpus *Corpus) { this->Corpus = Corpus; }
+ void SetCorpus(InputCorpus *Corpus) { this->Corpus = Corpus; }
----------------
kcc wrote:
> No.
> Instead, please make ChooseUnitIdxToMutate const.
ChooseUnitIdxToMutate needs mutable CorpusDistribution
https://reviews.llvm.org/D30683
More information about the llvm-commits
mailing list