go-wasm icon indicating copy to clipboard operation
go-wasm copied to clipboard

Fix parsing the table section

Open aykevl opened this issue 2 years ago • 0 comments

The table type was not correctly parsed: the reftype byte wasn't read. This happened to allow the test to be parsed, but slightly incorrectly. Other wasm files cannot be parsed.

https://webassembly.github.io/spec/core/binary/types.html#table-types

I think this will fix #3 and maybe also #2.

aykevl avatar Oct 30 '21 15:10 aykevl