Home
last modified time | relevance | path

Searched refs:OutputCorpus (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Fuzzer/
DFuzzerLoop.cpp318 if (Options.OutputCorpus.empty()) in RereadOutputCorpus()
321 ReadDirToVectorOfUnits(Options.OutputCorpus.c_str(), &AdditionalCorpus, in RereadOutputCorpus()
490 if (Options.OutputCorpus.empty()) in WriteToOutputCorpus()
492 std::string Path = DirPlusFile(Options.OutputCorpus, Hash(U)); in WriteToOutputCorpus()
512 if (Options.OutputCorpus.empty()) in SaveCorpus()
515 WriteToFile(U, DirPlusFile(Options.OutputCorpus, Hash(U))); in SaveCorpus()
518 Options.OutputCorpus.c_str()); in SaveCorpus()
707 SavedOutputCorpusPath.swap(Options.OutputCorpus); in Drill()
713 SavedOutputCorpusPath.swap(Options.OutputCorpus); in Drill()
DFuzzerDriver.cpp322 Options.OutputCorpus = (*Inputs)[0]; in FuzzerDriver()
400 if (inp != Options.OutputCorpus) in FuzzerDriver()
DFuzzerInternal.h227 std::string OutputCorpus; member
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerCorpus.h165 InputCorpus(const std::string &OutputCorpus, EntropicOptions Entropic) in InputCorpus() argument
166 : Entropic(Entropic), OutputCorpus(OutputCorpus) { in InputCorpus()
348 if (!OutputCorpus.empty() && II.MayDeleteFile) in DeleteFile()
349 RemoveFile(DirPlusFile(OutputCorpus, Sha1ToString(II.Sha1))); in DeleteFile()
585 std::string OutputCorpus; variable
DFuzzerLoop.cpp154 if (!Options.OutputCorpus.empty() && Options.ReloadIntervalSec) in Fuzzer()
155 EpochOfLastReadOfOutputCorpus = GetEpoch(Options.OutputCorpus); in Fuzzer()
414 if (Options.OutputCorpus.empty() || !Options.ReloadIntervalSec) in RereadOutputCorpus()
419 Options.OutputCorpus.c_str(), &AdditionalCorpus, in RereadOutputCorpus()
628 if (Options.OutputCorpus.empty()) in WriteToOutputCorpus()
630 std::string Path = DirPlusFile(Options.OutputCorpus, Hash(U)); in WriteToOutputCorpus()
DFuzzerOptions.h54 std::string OutputCorpus; member
DFuzzerDriver.cpp718 Options.OutputCorpus = OutputCorpusDir; in FuzzerDriver()
719 ValidateDirectoryExists(Options.OutputCorpus, Flags.create_missing_dirs); in FuzzerDriver()
812 auto *Corpus = new InputCorpus(Options.OutputCorpus, Entropic); in FuzzerDriver()