Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the config in the wasmtime oracle #1314

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion crates/fuzz/src/oracle/wasmtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ impl DifferentialOracleMeta for WasmtimeOracle {
// more interested what kind of error occurred and now how an error
// occurred.
config.wasm_backtrace(false);
let engine = Engine::default();
// We're disabling POSIX signals on errors in the engine because
// some fuzzers will catch them and report them as false positives.
config.signals_based_traps(false);
let engine = Engine::new(&config).unwrap();
let linker = Linker::new(&engine);
let limiter = StoreLimitsBuilder::new()
.memory_size(1000 * 0x10000)
Expand Down