-
Notifications
You must be signed in to change notification settings - Fork 762
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
[wasm-opt] Assertion after parse exception crash: 'unknown misc operation' Error (version_122) #7363
Comments
The error is from here: binaryen/src/wasm/wasm-binary.cpp Line 3600 in 626e212
The fuzz binary has the "misc" prefix (used by various post-MVP instructions) and an invalid code afterwards, so this errors. Without As this is just in |
Thank you for your assistance! However, I still have some confusion. |
Yes, it is probably some instruction wasm-opt does not have support for yet. Looks like it is https://webassembly.github.io/spec/core/binary/instructions.html#table-instructions |
#7209 tracks the implementation of elem.drop (or lack thereof). |
Thank you! |
Description
Encountered a parsing crash when processing a valid WebAssembly file with wasm-opt. Details below:
Environment
Error Log
Immediate crash occurs with this output:
reading... reading binary from working.wasm Loading working.wasm... [parse exception: unknown misc operation (at 0:2506)] Assertion failed: *currp (/src/src/wasm-traversal.h: pushTask: 286) [1] 2134627 abort ./downloaded_release/binaryen-version_122/bin/wasm-opt -o tt.wasm --debug
Additional Context
working.zip
Would appreciate guidance on:
Thank you for your assistance!
The text was updated successfully, but these errors were encountered: