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

i#3544 RV64: Rebase the dcontext pointer. #7235

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mariospaok4
Copy link
Contributor

The dcontext_t struct is larger than the biggest valid displacement of the load and store instructions.
By rebasing the pointer by 0x800, we can access the entire struct, because the displacement can be in the range of -0x800 to 0x7ff.

The dcontext_t struct is larger than the biggest valid displacement of the load and store instructions.
By rebasing the pointer by 0x800, we van access the entire struct,
because the dispacement can be in the renge of -0x800 to 0x7ff.
@mariospaok4 mariospaok4 marked this pull request as draft January 30, 2025 09:19
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