Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerMerge.cpp204 std::ifstream IF(CFPath); in CrashResistantMergeInternalStep()
216 std::ofstream OF(CFPath, std::ofstream::out | std::ofstream::app); in CrashResistantMergeInternalStep()
391 WriteNewControlFile(const std::string &CFPath, in WriteNewControlFile() argument
410 RemoveFile(CFPath); in WriteNewControlFile()
411 std::ofstream ControlFile(CFPath); in WriteNewControlFile()
419 CFPath.c_str()); in WriteNewControlFile()
440 if (FileSize(CFPath)) { in CrashResistantMerge()
442 CFPath.c_str()); in CrashResistantMerge()
444 std::ifstream IF(CFPath); in CrashResistantMerge()
498 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.cpp522 std::string CFPath = CFPathOrNull ? CFPathOrNull : TempPath("Merge", ".txt"); in Merge() local
526 {}, &NewCov, CFPath, true, Flags.set_cover_merge); in Merge()
531 RemoveFile(CFPath); in Merge()