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

No opcode suffix and no register operand creates ambiguous size. #204

Closed
nathanhjay opened this issue Oct 14, 2016 · 0 comments
Closed

No opcode suffix and no register operand creates ambiguous size. #204

nathanhjay opened this issue Oct 14, 2016 · 0 comments
Assignees
Labels

Comments

@nathanhjay
Copy link
Contributor

The following Dyninst output instructions could not be assembled due to the error "". Below are 3 examples including the input bytes, Dyninst output and correct output.

Bytes: 81 5d eb af 74 87 d8
Dyninst: sbb $0xd88774af,0xffffffffffffffeb(%rbp)
Correct output: sbbl $0xd88774af, -0x15(%rbp)

Bytes: ff 0b
Dyninst: dec (%rbx)
Correct output: decl (%rbx)

Bytes: 66 83 bc 0 60 c2 80 6 fb
Dyninst: cmp $0xfb,0x680c260(%rax,%rax,1)
Correct output: cmpw $0xfffb, 0x680c260(%rax, %rax, 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants