mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-09 21:30:07 +00:00
42e9632c53
Misspellings were identified by: https://github.com/marketplace/actions/check-spelling * Initial corrections based on forbidden patterns from the action * Additional corrections by Google Chrome auto-suggest * Some manual corrections * Adding markdown bullets to readme credits section Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
652 B
652 B
Fuzzing in Cloud Hypervisor
Cloud Hypervisor uses cargo-fuzz for fuzzing individual components.
The fuzzers are in the fuzz/fuzz_targets
directory
Preparation
Switch to nightly:
rustup override set nightly
Install cargo fuzz
:
cargo install cargo-fuzz
Running the fuzzers
e.g. To run the block
fuzzer using all available CPUs:
cargo fuzz run block -j `nproc`
Adding a new fuzzer
cargo fuzz add <new_fuzzer>
Inspiration for fuzzers can be found in crosvm