From 2a4c6c0dbed891610b6d10f663c797e9e80d1981 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Wed, 17 Sep 2025 12:16:39 +0200 Subject: executor: sys/linux/: pkg/runtest: pkg/vminfo: add syz_kvm_assert_syzos_kvm_exit Implement a pseudo-syscall to check the value of kvm_run.exit_reason --- sys/linux/dev_kvm_amd64.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/linux/dev_kvm_amd64.txt') diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt index 6f052c375..541fcaa02 100644 --- a/sys/linux/dev_kvm_amd64.txt +++ b/sys/linux/dev_kvm_amd64.txt @@ -24,6 +24,7 @@ syz_kvm_add_vcpu$x86(vm kvm_syz_vm$x86, text ptr[in, kvm_text$x86]) fd_kvmcpu (n # Test assertions, will not be used by the fuzzer. syz_kvm_assert_syzos_uexit$x86(run kvm_run_ptr, exitcode intptr) (no_generate) +syz_kvm_assert_syzos_kvm_exit$x86(run kvm_run_ptr, exitcode intptr) (no_generate) # Pseudo call that setups VCPU into a reasonable interesting state for execution. # The interface is designed for extensibility so that addition of new options does not invalidate all existing programs. -- cgit mrf-deployment