MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / init

Method init

src/program/libfuzzer.rs:75–85  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

73 }
74
75 fn init(&self) -> Result<()> {
76 let fuzzer_dir = self.deopt.get_library_fuzzer_dir(self.use_constraint)?;
77 if fuzzer_dir.exists() {
78 std::fs::remove_dir_all(fuzzer_dir)?;
79 }
80 let dst_dir = self.deopt.get_library_driver_dir()?;
81 if dst_dir.exists() {
82 std::fs::remove_dir_all(&dst_dir)?;
83 }
84 Ok(())
85 }
86
87 // clone the programs to a tmp directory.
88 // avoid to edit the raw programs.

Callers 1

transformMethod · 0.45

Calls 2

Tested by

no test coverage detected