diff options
| author | Alexander Potapenko <glider@google.com> | 2026-01-15 10:45:43 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-01-16 09:47:24 +0000 |
| commit | 67ef04e1ef9d40a76d1e2cb97ffa3adbfa51bdb5 (patch) | |
| tree | e07f4076ee9eec106b4969694928558aacdc610b /sys/linux/dev_kvm_amd64.txt | |
| parent | 67945471d459ce8031b65988d49bf03b726ae691 (diff) | |
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.
Diffstat (limited to 'sys/linux/dev_kvm_amd64.txt')
| -rw-r--r-- | sys/linux/dev_kvm_amd64.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/dev_kvm_amd64.txt b/sys/linux/dev_kvm_amd64.txt index 7ac8028d9..acd80540c 100644 --- a/sys/linux/dev_kvm_amd64.txt +++ b/sys/linux/dev_kvm_amd64.txt @@ -24,7 +24,7 @@ syz_kvm_setup_syzos_vm$x86(fd fd_kvmvm, usermem vma[1024]) kvm_syz_vm$x86 syz_kvm_add_vcpu$x86(vm kvm_syz_vm$x86, text ptr[in, kvm_text$x86]) fd_kvmcpu (no_squash) # 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_uexit$x86(cpufd fd_kvmcpu, 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. |
