Can't load wasm usin the Loader (Probably not supported) #340
Open
Description
I was going to try to read dwarf debugging info from a wasm binary but I get the error Error("Unknown file magic")
is loading webassembly binaries and their associated dwarf debug info sections supported by the Loader in addr2line? I know gimli can load wasm binaries and their associated debugging info using the object crate but it seems the loader might work differently here in addr2line.
I'm currently just doing something like this. Any help appreciated!
let loader = Loader::new(wasm_binary).expect(&format!("Failed to get dwarf info for \"{}\"", wasm_binary));
loader.find_location(150);
Metadata
Assignees
Labels
No labels