From 67ef04e1ef9d40a76d1e2cb97ffa3adbfa51bdb5 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 15 Jan 2026 10:45:43 +0100 Subject: executor: sys/linux: Add VCPU fd to `syz_kvm_assert_syzos_uexit` Enhance the debugging capabilities of C reproducers by passing the VCPU file descriptor to the syz_kvm_assert_syzos_uexit function. With access to the VCPU fd, the function can now dump the VCPU's register state upon assertion failure, providing critical context for debugging guest execution issues. --- executor/common_kvm_386.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_kvm_386.h') diff --git a/executor/common_kvm_386.h b/executor/common_kvm_386.h index 5c8498492..2eba3ee18 100644 --- a/executor/common_kvm_386.h +++ b/executor/common_kvm_386.h @@ -21,7 +21,7 @@ static long syz_kvm_add_vcpu(volatile long a0, volatile long a1) #endif #if SYZ_EXECUTOR || __NR_syz_kvm_assert_syzos_uexit -static long syz_kvm_assert_syzos_uexit(volatile long a0, volatile long a1) +static long syz_kvm_assert_syzos_uexit(volatile long a0, volatile long a1, volatile long a2) { return 0; } -- cgit mrf-deployment