fuzz: Add new fuzzer for emulated serial device

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-07-26 16:30:56 +01:00
parent f4e2198767
commit e4211272ad
3 changed files with 84 additions and 1 deletions
+9 -1
View File
@@ -10,6 +10,7 @@ cargo-fuzz = true
[dependencies]
block_util = { path = "../block_util" }
devices = { path = "../devices" }
libc = "0.2.126"
libfuzzer-sys = "0.4.3"
qcow = { path = "../qcow" }
@@ -18,8 +19,9 @@ vhdx = { path = "../vhdx" }
virtio-devices = { path = "../virtio-devices" }
virtio-queue = "0.4.0"
vmm-sys-util = "0.10.0"
vm-virtio = { path = "../vm-virtio" }
vm-memory = "0.8.0"
vm-device = { path = "../vm-device" }
vm-virtio = { path = "../vm-virtio" }
[dependencies.cloud-hypervisor]
path = ".."
@@ -50,3 +52,9 @@ name = "vhdx"
path = "fuzz_targets/vhdx.rs"
test = false
doc = false
[[bin]]
name = "serial"
path = "fuzz_targets/serial.rs"
test = false
doc = false