mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 03:21:13 +00:00
e5155bab62
Fuzz the HTTP API handling code with a minimum HTTP API receiver (e.g. mocking the behavior of our "vmm" thread). Signed-off-by: Bo Chen <chen.bo@intel.com>
77 lines
1.6 KiB
TOML
77 lines
1.6 KiB
TOML
[package]
|
|
name = "cloud-hypervisor-fuzz"
|
|
version = "0.0.0"
|
|
authors = ["Automatically generated"]
|
|
publish = false
|
|
edition = "2021"
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
block_util = { path = "../block_util" }
|
|
devices = { path = "../devices" }
|
|
epoll = "4.3.1"
|
|
libc = "0.2.126"
|
|
libfuzzer-sys = "0.4.3"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
|
once_cell = "1.13.0"
|
|
qcow = { path = "../qcow" }
|
|
seccompiler = "0.2.0"
|
|
vhdx = { path = "../vhdx" }
|
|
virtio-devices = { path = "../virtio-devices" }
|
|
virtio-queue = "0.5.0"
|
|
vmm = { path = "../vmm" }
|
|
vmm-sys-util = "0.10.0"
|
|
vm-memory = "0.8.0"
|
|
vm-device = { path = "../vm-device" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
|
|
[dependencies.cloud-hypervisor]
|
|
path = ".."
|
|
|
|
[patch.crates-io]
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.5.0-tdx" }
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "main" }
|
|
versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch" }
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "block"
|
|
path = "fuzz_targets/block.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "cmos"
|
|
path = "fuzz_targets/cmos.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "http_api"
|
|
path = "fuzz_targets/http_api.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "qcow"
|
|
path = "fuzz_targets/qcow.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "serial"
|
|
path = "fuzz_targets/serial.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "vhdx"
|
|
path = "fuzz_targets/vhdx.rs"
|
|
test = false
|
|
doc = false
|