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

Add tuple.drop validation #6186

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Add tuple.drop validation #6186

merged 1 commit into from
Dec 19, 2023

Conversation

kripken
Copy link
Member

@kripken kripken commented Dec 19, 2023

Without this fuzzer testcases fail if the initial content has a tuple.drop but multivalue
is disabled (then the initial content validates erroneously, and that content is remixed
into more content using multivalue which fails to validate).

@kripken kripken requested review from tlively and aheejin December 19, 2023 21:05
@kripken kripken enabled auto-merge (squash) December 19, 2023 21:12
Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

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

Change LGTM, but I don't understand how this could trip up the fuzzer without something else missing. How did the child of the drop end up being a tuple without multivalue enabled?

@kripken kripken merged commit eb5666e into WebAssembly:main Dec 19, 2023
14 checks passed
@kripken kripken deleted the val.tuple.drop branch December 19, 2023 21:34
@kripken
Copy link
Member Author

kripken commented Dec 19, 2023

Good point, we must be missing validation for the child as well. Unfortunately, I've since resumed the fuzzer and it has overwritten the initial.wat file that contained that code... the only chance to recover it would be from my memory, but I've forgotten as well...

radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
Without this fuzzer testcases fail if the initial content has a tuple.drop but multivalue
is disabled (then the initial content validates erroneously, and that content is remixed
into more content using multivalue which fails to validate).
@gkdn gkdn mentioned this pull request Aug 31, 2024
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