aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2025-11-24 12:08:19 +0100
committerAlexander Potapenko <glider@google.com>2025-11-24 17:06:13 +0000
commit718d1e1a0b5ba1e8129ad1466452c397ed1e3c94 (patch)
tree2ab15c2899acb631d1d22cd3237f773b4847e8be /sys
parent8f574c3487990421d80fb1a248f5d9f8b27654bb (diff)
sys/linux: update kvm_guest_addrs with addresses from executor/kvm.h
Make sure the fuzzer knows more about the SYZOS address space.
Diffstat (limited to 'sys')
-rw-r--r--sys/linux/socket_vnet.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/linux/socket_vnet.txt b/sys/linux/socket_vnet.txt
index ed9b5e513..4b516bef8 100644
--- a/sys/linux/socket_vnet.txt
+++ b/sys/linux/socket_vnet.txt
@@ -171,7 +171,9 @@ vhost_features = VHOST_LOG_ALL, VIRTIO_NOTIFY_ON_EMPTY, VIRTIO_RING_F_INDIRECT_D
vhost_vring_index = VSOCK_VQ_RX, VSOCK_VQ_TX, VSOCK_VQ_EVENT, VSOCK_VQ_MAX
vhost_iotlb_type = VHOST_IOTLB_MISS, VHOST_IOTLB_UPDATE, VHOST_IOTLB_INVALIDATE, VHOST_IOTLB_ACCESS_FAIL
vhost_iotlb_perm = VHOST_ACCESS_RO, VHOST_ACCESS_WO, VHOST_ACCESS_RW
-kvm_guest_addrs = 0, 1, 2, 4, 0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x6000, 0xd000, 0xf000, 0x10000, 0x100000, 0x8000000, 0x8080000, 0x80a0000, 0xdddd0000, 0xdddd1000, 0xeeee0000, 0xeeee8000, 0xeeef0000, 0xffff1000
+
+# This list contains guest addresses from executor/kvm.h, plus some constants.
+kvm_guest_addrs = 0, 1, 2, 4, 0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x6000, 0x7000, 0x9000, 0xa000, 0xb000, 0xc000, 0xd000, 0xe000, 0xf000, 0x10000, 0x25000, 0x26000, 0x30000, 0x40000, 0x41000, 0x50000, 0x54000, 0x58000, 0x60000, 0x70000, 0x100000, 0x200000, 0x8000000, 0x8080000, 0x80a0000, 0xdddd0000, 0xdddd1000, 0xeeee0000, 0xeeee8000, 0xeeef0000, 0xfec00000, 0xffff1000, 0xffffffff
define VHOST_LOG_ALL 1 << VHOST_F_LOG_ALL
define VIRTIO_NOTIFY_ON_EMPTY 1 << VIRTIO_F_NOTIFY_ON_EMPTY