mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
fuzz: introduce an x86 instruction emulator fuzzer
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -10,16 +10,20 @@ cargo-fuzz = true
|
||||
|
||||
[features]
|
||||
igvm = []
|
||||
mshv_emulator = ["hypervisor/mshv_emulator"]
|
||||
pvmemcontrol = []
|
||||
|
||||
[dependencies]
|
||||
arbitrary = "1.4.1"
|
||||
block = { path = "../block" }
|
||||
devices = { path = "../devices" }
|
||||
epoll = "4.3.3"
|
||||
hypervisor = { path = "../hypervisor", features = ["mshv_emulator"] }
|
||||
libc = "0.2.155"
|
||||
libfuzzer-sys = "0.4.7"
|
||||
linux-loader = { version = "0.13.0", features = ["bzimage", "elf", "pe"] }
|
||||
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
||||
mshv-bindings = "0.3.2"
|
||||
net_util = { path = "../net_util" }
|
||||
once_cell = "1.19.0"
|
||||
seccompiler = "0.4.0"
|
||||
@@ -131,3 +135,10 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user