Encoding question #363
-
Less of an issue and more of a question |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Please provide your code and let us know how you determined the "incorrect" displacement to allow us to get a better idea of what is going wrong here. I suspect that this is likely due to |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
kinda figured it out
my original instruction was with a small displacement and encoded as follows: 8B 05 4E650800 mov eax, [variable]
zydis correctly identified it as
rip
displacementbut to change displacement to a much larger value i had to this
which changes instruction to A1 E886D391F77F0000 (absolute address)