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

Fix stepOver using hardcoded immediate sizes #304

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaartenS11
Copy link
Member

Step over until now assumed that there were always 2 or 3 bytes of data associated with the call and call_indirect instructions. When working with larger programs however (or if the compiler uses a longer LEB representation than usual, which is allowed) this fixed byte count doesn't work anymore. Consequently, this PR makes step over actually read the LEB data instead of assuming it's always 1 byte.

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

Successfully merging this pull request may close these issues.

1 participant