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

IR Representation of x86 XCHG instruction seems wrong #437

Closed
Lukas-Dresel opened this issue Oct 5, 2016 · 1 comment
Closed

IR Representation of x86 XCHG instruction seems wrong #437

Lukas-Dresel opened this issue Oct 5, 2016 · 1 comment

Comments

@Lukas-Dresel
Copy link

The instruction XCHG EAX, EBX is transformed into IR and results in
EAX=EBX
EBX=EAX

This looks wrong in terms of logic, and especially this is very confusing when viewing dumped IR graphs.

@commial
Copy link
Contributor

commial commented Oct 5, 2016

As specified in #194, in Miasm IR, lines are evaluated in parallel (for a given AssignBlock, see #330 ).
If you want another representation, you may have a look at #352.

As this is a duplicate, I'm closing this issue. Do not hesitate if you have others questions.

@commial commial closed this as completed Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants