Skip to content

Conversation

@venkkatesh-sekar
Copy link
Member

@venkkatesh-sekar venkkatesh-sekar commented Jan 9, 2026

  1. If the module's memory (index 0) is 32-bit, it returns false.
  2. If the memory is 64-bit:
    • If ic0.msg_reply_data_append is NOT imported, it assumes 64-bit usage and returns true.
    • If ic0.msg_reply_data_append IS imported, it checks the function signature.
    • If the parameters are i64, it returns true.
    • Otherwise (e.g., i32), it returns false.

@venkkatesh-sekar venkkatesh-sekar marked this pull request as ready for review January 9, 2026 07:13
@venkkatesh-sekar venkkatesh-sekar requested a review from a team as a code owner January 9, 2026 07:13
@venkkatesh-sekar venkkatesh-sekar merged commit b3be0a6 into main Jan 9, 2026
6 checks passed
@venkkatesh-sekar venkkatesh-sekar deleted the vsekar/memory_64_check branch January 9, 2026 07:27
venkkatesh-sekar added a commit that referenced this pull request Jan 30, 2026
- [feat(api): Ergonomic improvements and derive macro for
FuzzerState](#19)
- [chore: make is_memory64 check
robust](#18)
- [feat: add support for
wasm64](#17)
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