Skip to content
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

Improve struct RMW validation and interpretation #7216

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

tlively
Copy link
Member

@tlively tlively commented Jan 15, 2025

Add missing validation rules checking that accessed fields have allowed
types. Copy the proposed upstream spec tests for this validation from
WebAssembly/shared-everything-threads#85 with
minor changes to account for differences in supported text format and
to comment out unsupported tests.

Also implement interpretation for the RMW instructions and add spec
tests testing their execution. It is simpler to implement both
validation and interpretation at once because the proposed upstream
spec tests require both to pass.

Add missing validation rules checking that accessed fields have allowed
types. Copy the proposed upstream spec tests for this validation from
WebAssembly/shared-everything-threads#85 with
minor changes to account for differences in supported text format and
to comment out unsupported tests.
@tlively tlively requested a review from kripken January 15, 2025 01:21
Add tests to the existing spec test.
@tlively tlively changed the title Improve struct RMW validation Improve struct RMW validation and interpretation Jan 15, 2025
@tlively tlively merged commit c8bfe28 into main Jan 15, 2025
13 checks passed
@tlively tlively deleted the validate-struct-rmw branch January 15, 2025 19:16
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