Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for "WebAssemblyValueType 7 not recognized" (#35)
When compiling a WASM binary, when there were N global imports in the import section as well as M global variables in the global section, in some (perhaps not all) circumstances, the compiler would try to read N+M entries from the global section rather than just M. In the reported issue, this resulted in an attempt to interpret the adjacent bytes as the content type of the next global variable, which was not a valid WebAssemblyValueType.
- Loading branch information