Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMerge.cpp208 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()
444 if (FileSize(CFPath)) { in CrashResistantMerge()
446 CFPath.c_str()); in CrashResistantMerge()
448 std::ifstream IF(CFPath); in CrashResistantMerge()
502 Cmd.addFlag("merge_control_file", 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.cpp524 std::string CFPath = CFPathOrNull ? CFPathOrNull : TempPath("Merge", ".txt"); in Merge() local
528 {}, &NewCov, CFPath, true, Flags.set_cover_merge); in Merge()
533 RemoveFile(CFPath); in Merge()