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

x86 Translation question 2 #39

Closed
nimrodpar opened this issue Aug 18, 2016 · 1 comment
Closed

x86 Translation question 2 #39

nimrodpar opened this issue Aug 18, 2016 · 1 comment

Comments

@nimrodpar
Copy link

This:
lea rdi, [rsp+908h+var_878]

gets translated into this:

   16 | t26 = GET:I64(rsp)
   17 | t25 = Add64(t26,0x0000000000000090)
   18 | t0 = t25
   19 | PUT(rdi) = t0

which is all wrong. I guess it has something to do with the fact that I'm translating it directly (not as part of a procedure), but from what I've seen in angr, assembly is translated directly without the prefix of the procedure, and everything seems fine.

Any thoughts?

Thanks again!! :)

@nimrodpar
Copy link
Author

Okay, i just got the offset calculation wrong, no worries!

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