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

Method new

src/execution/mod.rs:115–124  ·  view source on GitHub ↗
(deopt: &Deopt)

Source from the content-addressed store, hash-verified

113
114impl Executor {
115 pub fn new(deopt: &Deopt) -> Result<Self> {
116 let include_path = &deopt.get_library_build_header_path()?;
117
118 let header_cmd = "-I".to_owned() + include_path.to_str().unwrap();
119 check_clang()?;
120 Ok(Self {
121 header_cmd,
122 deopt: deopt.clone(),
123 })
124 }
125
126 fn get_compile_flags(&self, kind: &Compile) -> (Vec<&'static str>, &'static PathBuf) {
127 let (cflags, lib) = match kind {

Callers

nothing calls this directly

Calls 2

check_clangFunction · 0.85

Tested by

no test coverage detected