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
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
I can't figure out what I could do in this case. Does the wasm file has deeply nested blocks? I wanted to rewrite the binary parser to not use this library anymore, this could be a good opportunity.
If you plan to do so, maybe is a good idea to add the extra wasm sections in the engine. Take a look at https://github.com/v8/v8/blob/4b9b23521e6fd42373ebbcb20ebe03bf445494f9/src/wasm/wasm-constants.h#L74 . I was trying to play with the ffmpeg wasm file and it seems to have extra, non-custom sections,12 and 13. I tried to parse it with wabt and wasabi and they are not implementing this parsing. Have you read about these sections?
Hi @satabin
I was trying to decode/encode a large WASM module (here you can find it).
When I try to decode the binary swam launches a StackOverflow in this location
swam/core/src/swam/binary/InstCodec.scala
Line 96 in fd76cb9
swam/core/src/swam/binary/InstCodec.scala
Line 444 in fd76cb9
swam/core/src/swam/binary/InstCodec.scala
Line 35 in fd76cb9
Any idea?
Thanks in advancne
The text was updated successfully, but these errors were encountered: