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

Method new_with_output

hail-fuzz/src/debugging/check.rs:139–148  ·  view source on GitHub ↗
(canary: bool, output: W, colorize: bool)

Source from the content-addressed store, hash-verified

137 }
138
139 pub fn new_with_output<W>(canary: bool, output: W, colorize: bool) -> Self
140 where
141 W: std::io::Write + 'static,
142 {
143 Self {
144 canary,
145 output: Some(std::sync::Arc::new(std::sync::Mutex::new(Box::new(output)))),
146 colorize,
147 }
148 }
149
150 fn error(&self, cpu: &mut icicle_vm::cpu::Cpu, msg: &str, code: u64) {
151 if let Some(output) = self.output.as_ref() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected