wabt
wabt copied to clipboard
Incorrect Handling of Call Instructions in wasm-interp
wasm-interp encounters an "Aborted (core dumped)" error when executing a WebAssembly module that contains call instructions. This issue leads to an unexpected termination of the program.
Test case
Environment
- OS: Ubuntu 20.04
- CPU: amd64
- WABT version: 1.0.36
- Commands:
./wasm-interp --enable-all --run-export=main ./program.wasm
Actual behavior
Aborted (core dumped)
Expected behavior
wasm-interp should execute the call instructions without causing an "Aborted" error. If there is an issue with the module, it should provide a descriptive error message instead of terminating unexpectedly.