Skip to content

Use assert_malformed for >64-bit page sizes#58

Merged
fitzgen merged 1 commit into
WebAssembly:mainfrom
alexcrichton:tighten-test
Apr 20, 2026
Merged

Use assert_malformed for >64-bit page sizes#58
fitzgen merged 1 commit into
WebAssembly:mainfrom
alexcrichton:tighten-test

Conversation

@alexcrichton
Copy link
Copy Markdown
Contributor

This requires the failure to happen at the binary parsing stage rather than the validation stage, meaning that engines don't have to support printing, for example, a module with a >64-bit page size.

This requires the failure to happen at the binary parsing stage rather
than the validation stage, meaning that engines don't have to support
printing, for example, a module with a >64-bit page size.
Copy link
Copy Markdown
Collaborator

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, thanks!

@fitzgen fitzgen merged commit 27e2a5f into WebAssembly:main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants