Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented Feb 21, 2024

Those instructions refer to a data segment, which mean the DataCount section
must be emitted before them (so that, per the spec, they can be validated by
looking only at previous sections), which implies bulk-memory is needed.

Indeed V8 errors without it, as found by the fuzzer.

@kripken kripken requested a review from tlively February 21, 2024 22:44
@kripken kripken merged commit e4d2e7c into WebAssembly:main Feb 21, 2024
@kripken kripken deleted the bulk.array branch February 21, 2024 23:33
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
Those instructions refer to a data segment, which mean the DataCount section must be emitted before them (so that, per the spec, they can be validated by looking only at previous sections), which implies bulk-memory is needed.
@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

2 participants