-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Steps to reproduce
cargo test --workspace --bins
I have this as part of a pre-commit hook, and it always fails because of the fuzzer.
Expected behavior
Tests to pass on master.
Actual behavior
Fuzz target explodes:
$ cargo test --workspace --bins
Compiling rskafka v0.3.0 (/Users/dom/Documents/rust/rskafka)
Compiling rskafka-fuzz v0.0.0 (/Users/dom/Documents/rust/rskafka/fuzz)
Finished test [unoptimized + debuginfo] target(s) in 2.09s
Running unittests fuzz_targets/protocol_reader.rs (target/debug/deps/protocol_reader-af583cadbc4544d6)
WARNING: Failed to find function "__sanitizer_acquire_crash_state". Reason dlsym(RTLD_DEFAULT, __sanitizer_acquire_crash_state): symbol not found.
WARNING: Failed to find function "__sanitizer_print_stack_trace". Reason dlsym(RTLD_DEFAULT, __sanitizer_print_stack_trace): symbol not found.
WARNING: Failed to find function "__sanitizer_set_death_callback". Reason dlsym(RTLD_DEFAULT, __sanitizer_set_death_callback): symbol not found.
INFO: Running with entropic power schedule (0xFF, 100).
INFO: Seed: 1873570374
INFO: -max_len is not provided; libFuzzer will not generate inputs larger than 4096 bytes
INFO: A corpus is not provided, starting from an empty corpus
#2 INITED exec/s: 0 rss: 28Mb
ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting.
error: test failed, to rerun pass '-p rskafka-fuzz --bin protocol_reader'
Metadata
Metadata
Assignees
Labels
No labels