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

Properly locate relocation position in instructions with immediate operands #13

Closed
Maratyszcza opened this issue Sep 4, 2015 · 0 comments

Comments

@Maratyszcza
Copy link
Owner

Currently the code that detects relocation position in instructions with Constant operands assumes that disp32 is the last part of the encoding. This assumption does not hold if instruction has both a Constant operand and an immediate operand, which can happen e.g. in [V]CMPxx instructions. Need a more generic code to detect relocation position.

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