Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Handling of Call Instructions in wasm-interp #2524

Open
Q1IQ opened this issue Jan 7, 2025 · 0 comments
Open

Incorrect Handling of Call Instructions in wasm-interp #2524

Q1IQ opened this issue Jan 7, 2025 · 0 comments

Comments

@Q1IQ
Copy link

Q1IQ commented Jan 7, 2025

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

program.wasm.txt

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant