Home
last modified time | relevance | path

Searched refs:CorporaFiles (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerLoop.cpp790 void Fuzzer::ReadAndExecuteSeedCorpora(std::vector<SizedFile> &CorporaFiles) { in ReadAndExecuteSeedCorpora() argument
796 for (auto &File : CorporaFiles) { in ReadAndExecuteSeedCorpora()
809 if (CorporaFiles.empty()) { in ReadAndExecuteSeedCorpora()
816 CorporaFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb()); in ReadAndExecuteSeedCorpora()
818 std::shuffle(CorporaFiles.begin(), CorporaFiles.end(), MD.GetRand()); in ReadAndExecuteSeedCorpora()
821 std::stable_sort(CorporaFiles.begin(), CorporaFiles.end()); in ReadAndExecuteSeedCorpora()
822 assert(CorporaFiles.front().Size <= CorporaFiles in ReadAndExecuteSeedCorpora()
862 Loop(std::vector<SizedFile> & CorporaFiles) Loop() argument
[all...]
H A DFuzzerDataFlowTrace.cpp162 std::vector<SizedFile> &CorporaFiles, Random &Rand) { in Init() argument
172 for (auto &SF : CorporaFiles) in Init()
250 const std::vector<SizedFile> &CorporaFiles) { in CollectDataFlow() argument
252 DFTBinary.c_str(), DirPath.c_str(), CorporaFiles.size()); in CollectDataFlow()
253 if (CorporaFiles.empty()) { in CollectDataFlow()
261 for (auto &F : CorporaFiles) { in CollectDataFlow()
H A DFuzzerDataFlowTrace.h42 const std::vector<SizedFile> &CorporaFiles);
120 std::vector<SizedFile> &CorporaFiles, Random &Rand);
H A DFuzzerInternal.h37 void Loop(std::vector<SizedFile> &CorporaFiles);
38 void ReadAndExecuteSeedCorpora(std::vector<SizedFile> &CorporaFiles);
H A DFuzzerDriver.cpp914 auto CorporaFiles = ReadCorpora(*Inputs, ParseSeedInuts(Flags.seed_inputs)); in FuzzerDriver() local
915 F->Loop(CorporaFiles); in FuzzerDriver()