eanut 6
unread,Dec 14, 2025, 10:45:57 PM (8 days ago) Dec 14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to syzk...@googlegroups.com
Hi,
I'd like to add riscv64 kvm support to syzkaller. kvm support for riscv64
has matured significantly in recent linux kernel, but sys/linux/dev_kvm.txt
doesn't include riscv64 in architecture list, which prevents syzkaller
from fuzzing kvm code on riscv64.
From my understanding, the process involves two main steps:
1. Writing syscall descriptions in syzlang (the .txt files)
2. Extracting constant values using syz-extract
I'm currently stuck at the first step. Simply adding riscv64 to the
architecture list in dev_kvm.txt won't work, as some syscalls and data
structures aren't supported on riscv64 (or have different definitions).
I noticed there are architecture-specific files like dev_kvm_amd64.txt
- should I create a separate dev_kvm_riscv64.txt file for RISC-V-specific
definitions, or is there a better approach?
I'd be happy to contribute to this effort and invest time learning the
proper way to add this support. Any guidance or pointers would be
greatly appreciated!
Best regards,
Jiakai