From 928c43b02ca0ed45487039533cbd8e7040cd2ed4 Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Wed, 22 Feb 2023 12:29:31 -0800 Subject: [PATCH] differential fuzzing: actually expand funcs --- fuzz/fuzz_targets/differential.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz/fuzz_targets/differential.rs b/fuzz/fuzz_targets/differential.rs index e9926a0..344a03d 100644 --- a/fuzz/fuzz_targets/differential.rs +++ b/fuzz/fuzz_targets/differential.rs @@ -136,6 +136,7 @@ fuzz_target!(|module: wasm_smith::ConfiguredModule| { let mut parsed_module = Module::from_wasm_bytes(&orig_bytes[..], &FrontendOptions::default()).unwrap(); + parsed_module.expand_all_funcs().unwrap(); parsed_module.per_func_body(|body| body.optimize()); let roundtrip_bytes = parsed_module.to_wasm_bytes().unwrap();