Skip to content

Commit 59ce9da

Browse files
authoredFeb 17, 2025
sync CPU state on hw breakpoint (#103)
1 parent 06c738f commit 59ce9da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎accel/kvm/kvm-accel-ops.c

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ static void *kvm_vcpu_thread_fn(void *arg)
6464
//// --- Begin LibAFL code ---
6565
// cpu_handle_guest_debug(cpu);
6666
cpu->stopped = true;
67+
kvm_cpu_synchronize_state(cpu);
6768
libafl_qemu_trigger_breakpoint(cpu);
6869
//// --- End LibAFL code ---
6970
}

0 commit comments

Comments
 (0)