MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / auto_trim_input

Method auto_trim_input

hail-fuzz/src/main.rs:872–882  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

870 }
871
872 fn auto_trim_input(&mut self) -> anyhow::Result<()> {
873 let source = self
874 .target
875 .get_mmio_handler(&mut self.vm)
876 .ok_or_else(|| anyhow::format_err!("target does not support MultiStream input"))?;
877 if self.features.auto_trim {
878 source.trim();
879 }
880 self.state.input.clone_from(source);
881 Ok(())
882 }
883
884 fn get_extension_factor(&mut self, key: StreamKey) -> f64 {
885 if !self.features.extension_factor {

Callers 7

runMethod · 0.80
fuzz_oneMethod · 0.80
exec_oneMethod · 0.80
crate_snapshot_afterMethod · 0.80
fuzz_oneMethod · 0.80
run_onceFunction · 0.80
try_execMethod · 0.80

Calls 3

get_mmio_handlerMethod · 0.80
trimMethod · 0.80
clone_fromMethod · 0.80

Tested by

no test coverage detected