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

"sysexit" is disassembled incorrectly #352

Closed
derekbruening opened this issue Nov 28, 2014 · 1 comment
Closed

"sysexit" is disassembled incorrectly #352

derekbruening opened this issue Nov 28, 2014 · 1 comment

Comments

@derekbruening
Copy link
Contributor

From [email protected] on October 13, 2010 01:01:13

What version of DynamoRIO are you using? 2.0.0-6 What operating system version are you running on? Linux x86-64

The attached test program attempts to decode, disassemble, and print a single SYSEXIT instruction. The program must be built and run on a 64-bit host, but assumes the instruction to be decoded is as though run on a 32-bit machine (hence the call to set_x86_mode()). The output from this code is:

sysexit -> %rsp

It should be:

sysexit -> %esp

seeing as 32-bit machines don't have a register called "rsp" (so far, SYSEXIT is the only instruction I've run into that suffers from this problem).

Attachment: test.c

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=352

@derekbruening
Copy link
Contributor Author

From [email protected] on November 09, 2013 16:41:36

This issue was closed by revision r2368 .

Status: Fixed

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

1 participant