Stream: git-wasmtime

Topic: wasmtime / Issue #1332 Canonicalize NaNs when fuzzing


view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2020 at 22:34):

fitzgen opened Issue #1332:

In Config::new in crates/api/src/runtime.rs, we should conditionally enable the canonicalize_nans cranelift option when we're being built for fuzzing:

#[cfg(fuzzing)]
flags.set("enable_nan_canonicalization", "true").unwrap();

This should make execution during fuzzing that much more deterministic.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2020 at 22:34):

fitzgen labeled Issue #1332:

In Config::new in crates/api/src/runtime.rs, we should conditionally enable the canonicalize_nans cranelift option when we're being built for fuzzing:

#[cfg(fuzzing)]
flags.set("enable_nan_canonicalization", "true").unwrap();

This should make execution during fuzzing that much more deterministic.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2020 at 22:34):

fitzgen labeled Issue #1332:

In Config::new in crates/api/src/runtime.rs, we should conditionally enable the canonicalize_nans cranelift option when we're being built for fuzzing:

#[cfg(fuzzing)]
flags.set("enable_nan_canonicalization", "true").unwrap();

This should make execution during fuzzing that much more deterministic.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2020 at 22:34):

github-actions[bot] commented on Issue #1332:

Subscribe to Label Action

This issue or pull request has been labeled: "fuzzing"

<details> <summary>Users Subscribed to "fuzzing"</summary>

</details>

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 17 2020 at 01:04):

teapotd commented on Issue #1332:

Hello, I'd like to work on this.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 31 2020 at 14:22):

alexcrichton closed Issue #1332:

In Config::new in crates/api/src/runtime.rs, we should conditionally enable the canonicalize_nans cranelift option when we're being built for fuzzing:

#[cfg(fuzzing)]
flags.set("enable_nan_canonicalization", "true").unwrap();

This should make execution during fuzzing that much more deterministic.


Last updated: Dec 23 2024 at 12:05 UTC