gdabah / distorm

Powerful Disassembler Library For x86/AMD64
Other
1.26k stars 238 forks source link

instructionBytes is missing #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is there something wrong ?

>>> from distorm3 import *
>>> x = Decompose(0x400000, 'b800000000'.decode('hex'), Decode32Bits)
>>> x[0].instructionBytes
''

Original issue reported on code.google.com by phucb...@gmail.com on 7 Sep 2010 at 1:16

GoogleCodeExporter commented 9 years ago
yield Instruction(di, code[codeOffset + delta : codeOffset + delta + di.size])

So the first parameter should be 0.

Original comment by phucb...@gmail.com on 7 Sep 2010 at 1:21

GoogleCodeExporter commented 9 years ago

Original comment by distorm@gmail.com on 8 Sep 2010 at 2:38