add debug prints

This commit is contained in:
Alwin Berger 2022-02-10 14:41:24 +01:00
parent 2c3e1a4e4d
commit d7c0193a5e

View File

@ -122,13 +122,7 @@ where
fn post_exec(&mut self, _state: &mut S, _input: &I) -> Result<(), Error> { fn post_exec(&mut self, _state: &mut S, _input: &I) -> Result<(), Error> {
unsafe { self.last_runtime = emu::libafl_get_clock() }; unsafe { self.last_runtime = emu::libafl_get_clock() };
// if !_state.has_metadata::<QemuIcountMetadata>() { #[cfg(debug_assertions)] println!("Observer Clock: {}",self.last_runtime());
// _state.add_metadata(QemuIcountMetadata{runtime: self.last_runtime()});
// println!("Added Metadata");
// } else {
// println!("Found Metadata");
// }
// println!("Observer Clock: {}",self.last_runtime());
Ok(()) Ok(())
} }
} }