Home
last modified time | relevance | path

Searched refs:InitialCorpus (Results 1 – 2 of 2) sorted by relevance

/third_party/json/test/thirdparty/Fuzzer/
DFuzzerDriver.cpp511 UnitVector InitialCorpus; in FuzzerDriver() local
514 ReadDirToVectorOfUnits(Inp.c_str(), &InitialCorpus, nullptr, in FuzzerDriver()
520 for (auto &U : InitialCorpus) in FuzzerDriver()
525 if (InitialCorpus.empty()) { in FuzzerDriver()
526 InitialCorpus.push_back(Unit({'\n'})); // Valid ASCII input. in FuzzerDriver()
530 F->ShuffleAndMinimize(&InitialCorpus); in FuzzerDriver()
531 InitialCorpus.clear(); // Don't need this memory any more. in FuzzerDriver()
DFuzzerLoop.cpp461 void Fuzzer::ShuffleAndMinimize(UnitVector *InitialCorpus) { in ShuffleAndMinimize() argument
462 Printf("#0\tREAD units: %zd\n", InitialCorpus->size()); in ShuffleAndMinimize()
464 ShuffleCorpus(InitialCorpus); in ShuffleAndMinimize()
470 for (const auto &U : *InitialCorpus) { in ShuffleAndMinimize()