[PATCH] D21573: [libfuzzer] moving is_ascii handler inside mutation dispatcher.
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 17:41:35 PDT 2016
vitalybuka added inline comments.
================
Comment at: lib/Fuzzer/FuzzerTraceState.cpp:291
@@ -289,3 +290,3 @@
MutationDispatcher &MD;
- const Fuzzer::FuzzingOptions &Options;
+ const FuzzingOptions &Options;
const Fuzzer *F;
----------------
add
const Options &MutationDispatcher::GetOptions() const { return Options; }
and you don't need new member here
================
Comment at: lib/Fuzzer/test/FuzzerUnittest.cpp:444
@@ -436,1 +443,3 @@
+ FuzzingOptions Options;
+ MutationDispatcher MD(Rand, Options);
Fuzzer Fuzz(LLVMFuzzerTestOneInput, MD, Options);
----------------
MutationDispatcher MD(Rand, {});
http://reviews.llvm.org/D21573
More information about the llvm-commits
mailing list