Skip to content

[test] Add test for malformed functype #1254

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

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

chfast
Copy link
Contributor

@chfast chfast commented Oct 2, 2020

No description provided.

@chfast
Copy link
Contributor Author

chfast commented Nov 2, 2020

Will this be merged?

@rossberg rossberg merged commit eae22f6 into WebAssembly:master Nov 2, 2020
@chfast chfast deleted the test_malformed_functype branch November 10, 2020 16:16
chfast added a commit to wasmx/wasm-spec that referenced this pull request Nov 10, 2020
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
* [spec] automate instruction index rebuild (WebAssembly#1259)

* [test] Add test for malformed functype (WebAssembly#1254)

* [test] Correct tests for missing elements (WebAssembly#1251)

Remove the code section in tests for malformed element section.
Otherwise the code section id (0x0a) is taken as an element's table
index what is a validation error.

This is similar to the previously reported issue:
WebAssembly#1170.

* [test] Add tests for data segment with memidx 1 (WebAssembly#1249)

* [test] Correct i32.store alignment in a LEB128 test (WebAssembly#1261)

In the binary-leb128.wast, change the alignment of an i32.store
instruction from 3 (invalid) to 2 (the intention suggested by the
comment).

Co-authored-by: Andreas Rossberg <[email protected]>
Co-authored-by: Paweł Bylica <[email protected]>
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