crosvm/common/cros-fuzz
Dennis Kempin a6e7d6f139 Enable compilation of fuzzing targets
Adds a fall-back to cros_fuzz when compiled without
fuzzing enabled that will just produce a main fn entrypoint
with the fuzzing code.
This allows the fuzzing code to be compiled, but won't produce
functional fuzzing binaries.

BUG=b:265829867
FIXES=b:244631591
TEST=crosvm CQ
cargo +nightly fuzz run --fuzz-dir crosvm-fuzz --features upstream-fuzz crosvm_block_fuzzer

Change-Id: Ib2602aab5c5373cb2a71dca0d8419640a00c6725
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4167143
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-01-17 23:18:22 +00:00
..
src Enable compilation of fuzzing targets 2023-01-17 23:18:22 +00:00
Cargo.toml Enable compilation of fuzzing targets 2023-01-17 23:18:22 +00:00
OWNERS Revert "Remove empty OWNERS files" 2022-01-07 23:35:49 +00:00
README.md Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00

Support crate for fuzzing rust code

The crate provides support for fuzzing rust code on ChromeOS.