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

d400 should NoDecode on x86-64 #68

Open
mborgerson opened this issue Nov 7, 2024 · 0 comments
Open

d400 should NoDecode on x86-64 #68

mborgerson opened this issue Nov 7, 2024 · 0 comments

Comments

@mborgerson
Copy link
Member

Description

On x86-32, this decodes to:

0:  d4 00                   aam    0x0

On x86-64 this should be an invalid instruction byte sequence, however pyvex will decode it properly.

Steps to reproduce the bug

In [8]: import pyvex, archinfo; pyvex.lift(b'\xd4\x00', 0, archinfo.ArchAMD64())
Out[8]: IRSB <0x2 bytes, 1 ins., <Arch AMD64 (LE)>> at 0x0

Environment

pyvex @ git+https://github.com/angr/pyvex@d8f69b03fd4408c4b84214ed1998f4f3fd070da9

Additional context

No response

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