Disassembling of x86 32 bit binaries seems to be not working. Deen seems to use always 64 bit for disassembling.
Here is the expected result in capstone:
In [1]: from capstone import *
In [2]: CODE = b"MZ"
In [3]: md = Cs(CS_ARCH_X86, CS_MODE_32)
In [4]: for i in md.disasm(CODE, 0x1000):
...: print("0x%x:\t%s\t%s" %(i.address, i.mnemonic, i.op_str))
...:
0x1000: dec ebp
0x1001: pop edx
In [5]:
However if i use deen and disassemble the string MZ as x86 it states the instruction as pop r10.
Disassembling of x86 32 bit binaries seems to be not working. Deen seems to use always 64 bit for disassembling.
Here is the expected result in capstone:
However if i use deen and disassemble the string
MZ
as x86 it states the instruction aspop r10
.