Skip to content

[test] Correct tests for missing elements #1251

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 10, 2020

Conversation

chfast
Copy link
Contributor

@chfast chfast commented Sep 29, 2020

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: #1170.

chfast added a commit to wasmx/fizzy that referenced this pull request Sep 29, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#1251.
chfast added a commit to wasmx/fizzy that referenced this pull request Sep 29, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#1251.
chfast added a commit to wasmx/fizzy that referenced this pull request Sep 29, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#1251.
chfast added a commit to wasmx/fizzy that referenced this pull request Oct 29, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#1251.
chfast added a commit to wasmx/fizzy that referenced this pull request Nov 3, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#1251.
chfast added a commit to wasmx/fizzy that referenced this pull request Nov 6, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#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.
@chfast chfast force-pushed the correct_malformed_elems_tests branch from 760cdc4 to b08bc2c Compare November 6, 2020 17:22
@chfast
Copy link
Contributor Author

chfast commented Nov 6, 2020

Can this be merged too?

axic pushed a commit to wasmx/fizzy that referenced this pull request Nov 6, 2020
The upstream fix for newly discovered spectests issue is in
WebAssembly/spec#1251.
@rossberg rossberg merged commit 780479f into WebAssembly:master Nov 10, 2020
@chfast chfast deleted the correct_malformed_elems_tests branch November 10, 2020 16:16
chfast added a commit to wasmx/wasm-spec that referenced this pull request Nov 10, 2020
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.
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