Skip to content

Commit

Permalink
fuzz: disable reference types for logging fuzzing (tetratelabs#2079)
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Yoneda <[email protected]>
  • Loading branch information
mathetake authored and evacchi committed Feb 28, 2024
1 parent 6eb679c commit 2921b02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/integration_test/fuzz/fuzz/fuzz_targets/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ pub fn run_nodiff(
// TODO: enable after threads support in wazevo.
config.threads_enabled = false;

if check_logging {
config.reference_types_enabled = false;
}

// Generate the random module via wasm-smith.
let mut module = wasm_smith::Module::new(config.clone(), &mut u)?;
module.ensure_termination(1000);
Expand Down

0 comments on commit 2921b02

Please sign in to comment.