crosvm/fuzz/Cargo.toml
Daniel Verkamp cfb7db44eb fuzz: add USB descriptor parsing fuzzer
The new USB descriptor parsing code is a nice candidate for a fuzzer,
since it takes an arbitrary stream of bytes as input and parses it.

BUG=chromium:987833
TEST=`USE='asan fuzzer' emerge-nami crosvm`

Cq-Depend: chromium:1863465
Change-Id: I3bbdbf081e9a9dd590c781467f8bd44fa1dcab64
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1862117
Reviewed-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2019-10-17 23:22:08 +00:00

34 lines
658 B
TOML

[package]
name = "crosvm-fuzz"
version = "0.0.1"
authors = ["The Chromium OS Authors"]
edition = "2018"
[dependencies]
devices = { path = "../devices" }
kernel_loader = { path = "../kernel_loader" }
libc = "*"
qcow = { path = "../qcow" }
sys_util = { path = "../sys_util" }
usb_util = { path = "../usb_util" }
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "crosvm_block_fuzzer"
path = "block_fuzzer.rs"
[[bin]]
name = "crosvm_qcow_fuzzer"
path = "qcow_fuzzer.rs"
[[bin]]
name = "crosvm_usb_descriptor_fuzzer"
path = "usb_descriptor_fuzzer.rs"
[[bin]]
name = "crosvm_zimage_fuzzer"
path = "zimage_fuzzer.rs"