You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
certain wasm runtimes creatively misuse UINT32_MAX to represent alternatives, for example in exception handling implementations to differentiate catch from catch_all.
it'd perhaps be a good idea to make sure such modules are treated as invalid instead.
The text was updated successfully, but these errors were encountered:
SoniEx2
changed the title
UINT32_MAX as various index types
UINT32_MAX as various index values
Sep 20, 2024
Hm, not sure how we can write tests for that without defining 4 billion tags in a single module. We would clearly run into implementation limits much earlier. And if an implementation has such limits and checks them correctly, then there actually isn't anything wrong with it using out-of-range sentinel values for something else internally.
certain wasm runtimes creatively misuse UINT32_MAX to represent alternatives, for example in exception handling implementations to differentiate
catch
fromcatch_all
.it'd perhaps be a good idea to make sure such modules are treated as invalid instead.
The text was updated successfully, but these errors were encountered: