paritytech / parity-wasm

WebAssembly serialization/deserialization in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module::parse_reloc() fails when there are debug info.

Navidem opened this issue · comments

I am using parse_reloc() to read in reloc.CODE and reloc.DATA, but it fails when the .wasm has debug info and custom sections named like reloc..debug_info and etc.
Attached you can find a sample .wasm that generates the error.

userProjectWasm.wasm.zip