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

Method get_function_cov_mut

src/feedback/clang_coverage.rs:202–207  ·  view source on GitHub ↗
(&mut self, func: &str)

Source from the content-addressed store, hash-verified

200 }
201
202 pub fn get_function_cov_mut(&mut self, func: &str) -> Option<&mut CovFunction> {
203 self.data[0]
204 .functions
205 .iter_mut()
206 .find(|func_cov| func_cov.get_name() == func)
207 }
208
209 pub fn iter_function_covs(&self) -> core::slice::Iter<'_, CovFunction> {
210 let iter = self.data[0].functions.iter();

Callers 1

parse_lcov_dataFunction · 0.80

Calls 1

get_nameMethod · 0.45

Tested by

no test coverage detected