sync CPU state on hw breakpoint (#103)
This commit is contained in:
parent
06c738f64a
commit
59ce9daf54
@ -64,6 +64,7 @@ static void *kvm_vcpu_thread_fn(void *arg)
|
|||||||
//// --- Begin LibAFL code ---
|
//// --- Begin LibAFL code ---
|
||||||
// cpu_handle_guest_debug(cpu);
|
// cpu_handle_guest_debug(cpu);
|
||||||
cpu->stopped = true;
|
cpu->stopped = true;
|
||||||
|
kvm_cpu_synchronize_state(cpu);
|
||||||
libafl_qemu_trigger_breakpoint(cpu);
|
libafl_qemu_trigger_breakpoint(cpu);
|
||||||
//// --- End LibAFL code ---
|
//// --- End LibAFL code ---
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user