Home
last modified time | relevance | path

Searched refs:CFPath (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMerge.cpp204 void Fuzzer::CrashResistantMergeInternalStep(const std::string &CFPath, in CrashResistantMergeInternalStep() argument
206 Printf("MERGE-INNER: using the control file '%s'\n", CFPath.c_str()); in CrashResistantMergeInternalStep()
208 std::ifstream IF(CFPath); in CrashResistantMergeInternalStep()
220 std::ofstream OF(CFPath, std::ofstream::out | std::ofstream::app); in CrashResistantMergeInternalStep()
395 WriteNewControlFile(const std::string &CFPath, in WriteNewControlFile() argument
414 RemoveFile(CFPath); in WriteNewControlFile()
415 std::ofstream ControlFile(CFPath); in WriteNewControlFile()
423 CFPath.c_str()); in WriteNewControlFile()
438 std::set<uint32_t> *NewCov, const std::string &CFPath, in CrashResistantMerge() argument
444 if (FileSize(CFPath)) { in CrashResistantMerge()
[all …]
H A DFuzzerFork.cpp71 std::string CFPath; member
80 RemoveFile(CFPath); in ~FuzzJob()
175 Job->CFPath = DirPlusFile(TempDir, std::to_string(JobId) + ".merge"); in CreateNewJob()
236 &NewFeatures, Cov, &NewCov, Job->CFPath, false, in RunOneMergeJob()
346 auto CFPath = DirPlusFile(Env.TempDir, "merge.txt"); in FuzzWithFork() local
349 &NewFeatures, Env.Cov, &NewCov, CFPath, in FuzzWithFork()
353 RemoveFile(CFPath); in FuzzWithFork()
406 auto CFPath = DirPlusFile(Env.TempDir, "merge.txt"); in FuzzWithFork() local
413 CFPath, /*Verbose=*/false, /*IsSetCoverMerge=*/false); in FuzzWithFork()
416 RemoveFile(CFPath); in FuzzWithFork()
H A DFuzzerMerge.h88 std::set<uint32_t> *NewCov, const std::string &CFPath,
H A DFuzzerDriver.cpp525 std::string CFPath = CFPathOrNull ? CFPathOrNull : TempPath("Merge", ".txt"); in Merge() local
529 {}, &NewCov, CFPath, true, Flags.set_cover_merge); in Merge()
534 RemoveFile(CFPath); in Merge()