cargo-fuzz icon indicating copy to clipboard operation
cargo-fuzz copied to clipboard

Nightly-2021-08-20 Running the 0.11.0 reports an error

Open haowqs opened this issue 2 years ago • 1 comments

I'm fuzzing with rust-2021-08-20 and cargo-fuzz 0.11.0, the program doesn't seem to start

Rust version

rust@rust:~/test_rust$ rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)
nightly-2021-08-20-x86_64-unknown-linux-gnu (override)
nightly-x86_64-unknown-linux-gnu

rust@rust:~/test_rust$ cargo-fuzz -V
cargo-fuzz 0.11.0

Run log

rust@rust:~/test_rust$ cargo fuzz run pe
warning: unknown pass `sancov-module`, ignoring

warning: `test_rust` (lib) generated 1 warning
warning: `test_rust-fuzz` (bin "pe") generated 1 warning (1 duplicate)
    Finished release [optimized] target(s) in 0.00s
warning: unknown pass `sancov-module`, ignoring

warning: `test_rust` (lib) generated 1 warning
warning: `test_rust-fuzz` (bin "pe") generated 1 warning (1 duplicate)
    Finished release [optimized] target(s) in 0.00s
     Running `fuzz/target/x86_64-unknown-linux-gnu/release/pe -artifact_prefix=/home/haowx/test_rust/fuzz/artifacts/pe/ /home/haowx/test_rust/fuzz/corpus/pe`
INFO: Running with entropic power schedule (0xFF, 100).
INFO: Seed: 15993412
INFO:        6 files found in /home/haowx/test_rust/fuzz/corpus/pe
INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
INFO: seed corpus: files: 6 min: 1b max: 40b total: 94b rss: 29Mb
#7      INITED exec/s: 0 rss: 30Mb
ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting.
────────────────────────────────────────────────────────────────────────────────

Error: Fuzz target exited with exit status: 1

haowqs avatar Feb 21 '22 14:02 haowqs

old versions of rustc nightly are not supported with new versions of cargo-fuzz. Please upgrade rustc.

nagisa avatar Feb 21 '22 15:02 nagisa