[package]
authors = ["Automatically generated"]
edition = "2021"
name = "cloud-hypervisor-fuzz"
publish = false
version = "0.0.0"

[package.metadata]
cargo-fuzz = true

[features]
default = ["mshv_emulator"]
igvm = []
ivshmem = []
mshv_emulator = ["hypervisor/mshv_emulator"]
pvmemcontrol = []

[dependencies]
arbitrary = "1.4.2"
block = { path = "../block" }
devices = { path = "../devices" }
epoll = "4.4.0"
hypervisor = { path = "../hypervisor", features = ["mshv_emulator"] }
libc = "0.2.185"
libfuzzer-sys = "0.4.12"
linux-loader = { version = "0.13.2", features = ["bzimage", "elf", "pe"] }
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
mshv-bindings = "0.6.8"
net_util = { path = "../net_util" }
seccompiler = "0.5.0"
virtio-devices = { path = "../virtio-devices" }
virtio-queue = "0.17.0"
vm-device = { path = "../vm-device" }
vm-memory = "0.17.1"
vm-migration = { path = "../vm-migration" }
vm-virtio = { path = "../vm-virtio" }
vmm = { path = "../vmm", features = ["guest_debug"] }
vmm-sys-util = "0.15.0"

# Prevent this from interfering with workspaces
[workspace]
members = ["."]

[[bin]]
doc = false
name = "balloon"
path = "fuzz_targets/balloon.rs"
test = false

[[bin]]
doc = false
name = "block"
path = "fuzz_targets/block.rs"
test = false

[[bin]]
doc = false
name = "cmos"
path = "fuzz_targets/cmos.rs"
test = false

[[bin]]
doc = false
name = "console"
path = "fuzz_targets/console.rs"
test = false

[[bin]]
doc = false
name = "http_api"
path = "fuzz_targets/http_api.rs"
test = false

[[bin]]
doc = false
name = "iommu"
path = "fuzz_targets/iommu.rs"
test = false

[[bin]]
doc = false
name = "linux_loader"
path = "fuzz_targets/linux_loader.rs"
test = false

[[bin]]
doc = false
name = "linux_loader_cmdline"
path = "fuzz_targets/linux_loader_cmdline.rs"
test = false

[[bin]]
doc = false
name = "mem"
path = "fuzz_targets/mem.rs"
test = false

[[bin]]
doc = false
name = "net"
path = "fuzz_targets/net.rs"
test = false

[[bin]]
doc = false
name = "pmem"
path = "fuzz_targets/pmem.rs"
test = false

[[bin]]
doc = false
name = "qcow"
path = "fuzz_targets/qcow.rs"
test = false

[[bin]]
doc = false
name = "rng"
path = "fuzz_targets/rng.rs"
test = false

[[bin]]
doc = false
name = "serial"
path = "fuzz_targets/serial.rs"
test = false

[[bin]]
doc = false
name = "vhdx"
path = "fuzz_targets/vhdx.rs"
test = false

[[bin]]
doc = false
name = "vsock"
path = "fuzz_targets/vsock.rs"
test = false

[[bin]]
doc = false
name = "watchdog"
path = "fuzz_targets/watchdog.rs"
test = false

[[bin]]
doc = false
name = "x86emul"
path = "fuzz_targets/x86emul.rs"
required-features = ["mshv_emulator"]
test = false
