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
I'm trying to load the attached simple_add_c.zip (zipped, because github won't allow me to attach wasm-files) .wasm file, but I'm getting the following error: Error: Couldn't read header of a name subsection
This is how I attempt to load the file:
let wasm = std::fs::read(&args[1])?;let obj_file = object::File::parse(wasm.as_slice())?;
Probably the wasm format has changed, and the wasmparser dependency needs updating. The wasm support in this crate is unmaintained, so PRs to update it are welcome.
Hey there,
I'm trying to load the attached simple_add_c.zip (zipped, because github won't allow me to attach wasm-files)
.wasm
file, but I'm getting the following error:Error: Couldn't read header of a name subsection
This is how I attempt to load the file:
Is this a bug or am I doing something wrong here?
wasm-objdump
gives me the following output:The text was updated successfully, but these errors were encountered: