forked from bytecodealliance/wasm-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync wasmparser/wasm-smith on bulk-memory
Historically in bytecodealliance#410 fuzzing for `wasm-tools smith` was updated to unconditionally enable the bulk-memory proposal if the reference-types proposal was enabled. This doesn't prevent configuration on the CLI, however, as exposed in bytecodealliance#1324. This change undoes bytecodealliance#410 effectively and then syncs the `wasm-smith` crate's understanding of bulk-memory and reference-types with `wasmparser`'s understanding. I'm not actually sure if `wasmparser`'s understanding of bulk-memory-vs-reference-types is correct. It was always a bit murky to me precisely which instructions where in which proposal, so I've opted here to take whatever `wasmparser` does today as the source of truth. Any edits necessary to move items between proposals can be done in `wasmparser` and then reflected in `wasm-smith`.
- Loading branch information
1 parent
c1e28f3
commit 891130f
Showing
4 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters