fuzz: allow generating shared memories#4266
Conversation
`wasm-smith` v0.11 has support for generating shared memories when the `threads_enabled` configuration flag is set. This change turns on that flag occasionally.
de9ba56 to
47ade13
Compare
|
@alexcrichton, @fitzgen: I am not really sure if this is the only place where the threads flag should be enabled to start generating shared memories--is there somewhere else that this makes sense to do? |
Subscribe to Label Actioncc @fitzgen DetailsThis issue or pull request has been labeled: "fuzzing"Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
|
I think you'll also need to add Pending #4260 it might be good to run this for a bit locally to see if anything quickly pops up and/or introduce a purposeful bug/panic to make sure the fuzzer finds it at some point. |
| pub fn set_spectest_compliant(&mut self) { | ||
| let config = &mut self.module_config.config; | ||
| config.memory64_enabled = false; | ||
| config.simd_enabled = false; |
There was a problem hiding this comment.
FYI: this was removed as a cleanup because line 350 below has config.simd_enabled = true;
|
This change is pending bytecodealliance/wasm-tools#639 and a new version of wasm-smith on crates.io. |
wasm-smithv0.11 has support for generating shared memories when thethreads_enabledconfiguration flag is set. This change turns on thatflag occasionally.