Home
last modified time | relevance | path

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

/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerLoop.cpp788 void Fuzzer::ReadAndExecuteSeedCorpora(std::vector<SizedFile> &CorporaFiles) { in ReadAndExecuteSeedCorpora() argument
794 for (auto &File : CorporaFiles) { in ReadAndExecuteSeedCorpora()
807 if (CorporaFiles.empty()) { in ReadAndExecuteSeedCorpora()
814 CorporaFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb()); in ReadAndExecuteSeedCorpora()
816 std::shuffle(CorporaFiles.begin(), CorporaFiles.end(), MD.GetRand()); in ReadAndExecuteSeedCorpora()
819 std::stable_sort(CorporaFiles.begin(), CorporaFiles.end()); in ReadAndExecuteSeedCorpora()
820 assert(CorporaFiles.front().Size <= CorporaFiles.back().Size); in ReadAndExecuteSeedCorpora()
824 for (auto &SF : CorporaFiles) { in ReadAndExecuteSeedCorpora()
860 void Fuzzer::Loop(std::vector<SizedFile> &CorporaFiles) { in Loop() argument
862 DFT.Init(Options.DataFlowTrace, &FocusFunctionOrAuto, CorporaFiles, in Loop()
[all …]
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()
DFuzzerDataFlowTrace.h42 const std::vector<SizedFile> &CorporaFiles);
120 std::vector<SizedFile> &CorporaFiles, Random &Rand);
DFuzzerInternal.h38 void Loop(std::vector<SizedFile> &CorporaFiles);
39 void ReadAndExecuteSeedCorpora(std::vector<SizedFile> &CorporaFiles);
DFuzzerDriver.cpp911 auto CorporaFiles = ReadCorpora(*Inputs, ParseSeedInuts(Flags.seed_inputs)); in FuzzerDriver() local
912 F->Loop(CorporaFiles); in FuzzerDriver()