Remove always-on logging from fuzz targets (#878)

Now that the `cargo fuzz` tooling is better, it is easier to reproduce failures,
and we don't need to be super paranoid about logging here.
This commit is contained in:
Nick Fitzgerald
2020-01-30 23:46:50 +01:00
committed by GitHub
parent c6438d0d44
commit 84c4d8cc6c
7 changed files with 8 additions and 197 deletions

7
fuzz/fuzz_targets/instantiate_translated.rs Normal file → Executable file
View File

@@ -2,11 +2,8 @@
use libfuzzer_sys::fuzz_target;
use wasmtime::Strategy;
use wasmtime_fuzzing::{generators, oracles, with_log_wasm_test_case};
use wasmtime_fuzzing::{generators, oracles};
fuzz_target!(|data: generators::WasmOptTtf| {
with_log_wasm_test_case!(&data.wasm, |wasm| oracles::instantiate(
wasm,
Strategy::Auto,
));
oracles::instantiate(&data.wasm, Strategy::Auto);
});