wasmx / wasm-chisel

Some useful utilities to transform WebAssembly binaries.
Apache License 2.0
56 stars 11 forks source link

verifyimports seem to fail on ewasm-rust-api generated code #57

Closed axic closed 5 years ago

axic commented 5 years ago

All of the precompiles fail with something similar:

$ target/debug/chisel sentinel ewasm_precompile_bls12pairing.wasm 
========== SENTINEL ==========
thread 'main' panicked at 'index out of bounds: the len is 5 but the index is 5', libchisel/src/verifyimports.rs:507:38
note: Run with `RUST_BACKTRACE=1` for a backtrace.
jakelang commented 5 years ago

Duplicate of #47