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

Disassembly Error, repne movsd #2491

Open
jskew opened this issue Sep 29, 2024 · 0 comments
Open

Disassembly Error, repne movsd #2491

jskew opened this issue Sep 29, 2024 · 0 comments
Labels

Comments

@jskew
Copy link

jskew commented Sep 29, 2024

import capstone

print(capstone.__version__)
md = capstone.Cs( capstone.CS_ARCH_X86, capstone.CS_MODE_32 )
insn = next(md.disasm(b'\xf2\xa4', 0, 1)); print('%s %s %s' % (insn.bytes.hex(), insn.mnemonic, insn.op_str))
insn = next(md.disasm(b'\xf2\xa5', 0, 1)); print('%s %s %s' % (insn.bytes.hex(), insn.mnemonic, insn.op_str))

5.0.3

f2a4 repne movsb byte ptr es:[edi], byte ptr [esi]
f2a5 movsd dword ptr es:[edi], dword ptr [esi]

It should be:

f2a4 repne movsb byte ptr es:[edi], byte ptr [esi]
f2a5 repne movsd dword ptr es:[edi], dword ptr [esi]
@Rot127 Rot127 added bug X86 Arch labels Sep 30, 2024
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