minimal changes
This commit is contained in:
parent
9b9fbc3677
commit
6a9df35e28
@ -106,7 +106,6 @@ impl QemuClockObserver {
|
||||
/// Gets the runtime for the last execution of this target.
|
||||
#[must_use]
|
||||
pub fn last_runtime(&self) -> u64 {
|
||||
// println!("Number of Ticks: {} <- {} {}",self.end_tick - self.start_tick, self.end_tick, self.start_tick);
|
||||
self.end_tick - self.start_tick
|
||||
}
|
||||
}
|
||||
@ -130,8 +129,8 @@ where
|
||||
|
||||
fn post_exec(&mut self, _state: &mut S, _input: &S::Input, _exit_kind: &ExitKind) -> Result<(), Error> {
|
||||
unsafe { self.end_tick = emu::icount_get_raw() };
|
||||
self.last_runtime();
|
||||
// println!("clock post {}", self.end_tick);
|
||||
println!("Number of Ticks: {} <- {} {}",self.end_tick - self.start_tick, self.end_tick, self.start_tick);
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ pub fn fuzz() {
|
||||
.expect("Symbol or env BREAKPOINT not found");
|
||||
println!("Breakpoint address = {:#x}", breakpoint);
|
||||
unsafe {
|
||||
libafl_int_offset = 422483;
|
||||
libafl_int_offset = 0;
|
||||
}
|
||||
|
||||
let mut run_client = |state: Option<_>, mut mgr, _core_id| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user