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

Method obtain_library_include_headers

src/deopt.rs:297–306  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

295 }
296
297 pub fn obtain_library_include_headers(&self) -> Result<Vec<PathBuf>> {
298 let header_names = get_include_lib_headers(self)?;
299 let mut headers: Vec<PathBuf> = Vec::new();
300 let header_dir = self.get_library_build_header_path()?;
301 for header in header_names {
302 let header_path: PathBuf = [header_dir.clone(), header.into()].iter().collect();
303 headers.push(header_path);
304 }
305 Ok(headers)
306 }
307
308 pub fn get_library_build_corpus_dir(&self) -> Result<PathBuf> {
309 let corpus_dir: PathBuf = [self.get_library_build_dir()?, "corpus".into()]

Callers 2

parse_type_gadgetsFunction · 0.80
parse_func_gadgetsFunction · 0.80

Calls 3

get_include_lib_headersFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected