From e874a7277ef3e16cc6cdb987982e4db8465e66a7 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 26 Nov 2019 15:48:15 -0800 Subject: [PATCH 1/2] fuzzing: remove the in-repo corpus We will be using https://github.com/bytecodealliance/wasmtime-libfuzzer-corpus from now on instead. --- fuzz/.gitignore | 2 ++ .../1340712d77d3db3c79b4b0c1494df18615485480 | Bin 4 -> 0 bytes 2 files changed, 2 insertions(+) create mode 100644 fuzz/.gitignore delete mode 100644 fuzz/corpus/compile/1340712d77d3db3c79b4b0c1494df18615485480 diff --git a/fuzz/.gitignore b/fuzz/.gitignore new file mode 100644 index 0000000000..ff2738685d --- /dev/null +++ b/fuzz/.gitignore @@ -0,0 +1,2 @@ +artifacts +corpus diff --git a/fuzz/corpus/compile/1340712d77d3db3c79b4b0c1494df18615485480 b/fuzz/corpus/compile/1340712d77d3db3c79b4b0c1494df18615485480 deleted file mode 100644 index e618c158bad8e52cba5520a1ad971eecc189039e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4 LcmZQbEY1Z00(t>L From f931243ceeb92369470c05b7216af0eea7beb34e Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 26 Nov 2019 15:58:34 -0800 Subject: [PATCH 2/2] Remove allow pragma now that it is unnecessary --- crates/fuzzing/tests/regressions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/fuzzing/tests/regressions.rs b/crates/fuzzing/tests/regressions.rs index 8576cd6c86..069cd8ae0b 100644 --- a/crates/fuzzing/tests/regressions.rs +++ b/crates/fuzzing/tests/regressions.rs @@ -5,8 +5,7 @@ //! use the Wasm binary by including it via //! `include_bytes!("./regressions/some-descriptive-name.wasm")`. -#[allow(unused_imports)] // Until we actually have some regression tests... -use wasmtime_fuzzing::*; +use wasmtime_fuzzing::oracles; #[test] fn instantiate_empty_module() {