sync CPU state on hw breakpoint (#103)

This commit is contained in:
Marco C. 2025-02-17 16:04:15 +01:00 committed by GitHub
parent 06c738f64a
commit 59ce9daf54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,6 +64,7 @@ static void *kvm_vcpu_thread_fn(void *arg)
//// --- Begin LibAFL code ---
// cpu_handle_guest_debug(cpu);
cpu->stopped = true;
kvm_cpu_synchronize_state(cpu);
libafl_qemu_trigger_breakpoint(cpu);
//// --- End LibAFL code ---
}