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

Function transform

src/bin/harness.rs:112–121  ·  view source on GitHub ↗
(
    project: String,
    program_path: &Path,
    use_cons: bool,
    corpora: Option<PathBuf>,
)

Source from the content-addressed store, hash-verified

110}
111
112pub fn transform(
113 project: String,
114 program_path: &Path,
115 use_cons: bool,
116 corpora: Option<PathBuf>,
117) -> Result<()> {
118 let deopt = Deopt::new(project)?;
119 prompt_fuzz::program::transform::transform(&deopt, program_path, use_cons, corpora)?;
120 Ok(())
121}
122
123pub fn check(project: String, program: &Path) -> Result<Option<ProgramError>> {
124 let deopt = Deopt::new(project)?;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected