-
Notifications
You must be signed in to change notification settings - Fork 457
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
keystone is bad supporting X86 when resolving PCRel. #574
Comments
there is freak
the value is offset -4 where the actual location
where we return the location of resolved symbol, that maybe the real problem. when Symbol is defined, the Value is a shift -4 to the actual location, and the resolver we do return a no shift actual location. so, the PCRel needs a shift -4 value, the resolver by us can not meets it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in arm platform, relating to the beginnig of
bl
orbx
, it may be right.but in x86 platform, it needs relating to the end of
call
orjmp
, keystone must be totally wrong.so, there is no choice except rebuilding custom binary by modifying the codes, if you need to use it in x86 platform.
The text was updated successfully, but these errors were encountered: