Working fuzz target
This commit is contained in:
parent
16a645e69b
commit
c86347bb17
|
@ -10,7 +10,7 @@ edition = "2018"
|
|||
cargo-fuzz = true
|
||||
|
||||
[dependencies]
|
||||
libfuzzer-sys = "0.3"
|
||||
libfuzzer-sys = "0.4"
|
||||
wasm-smith = "0.8"
|
||||
|
||||
[dependencies.waffle]
|
||||
|
|
|
@ -5,5 +5,5 @@ use waffle::frontend::wasm_to_ir;
|
|||
use wasm_smith::Module;
|
||||
|
||||
fuzz_target!(|module: Module| {
|
||||
let _parsed_module = wasm_to_ir(module.to_bytes()).unwrap();
|
||||
let _parsed_module = wasm_to_ir(&module.to_bytes()[..]).unwrap();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue