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

Function check

src/bin/harness.rs:123–128  ·  view source on GitHub ↗
(project: String, program: &Path)

Source from the content-addressed store, hash-verified

121}
122
123pub fn check(project: String, program: &Path) -> Result<Option<ProgramError>> {
124 let deopt = Deopt::new(project)?;
125 let executor = Executor::new(&deopt)?;
126 let has_err = executor.check_program_is_correct(program)?;
127 Ok(has_err)
128}
129
130pub fn recheck(project: String) -> Result<()> {
131 let mut deopt = Deopt::new(project)?;

Callers 1

mainFunction · 0.85

Calls 1

Tested by

no test coverage detected