dandycheung / distorm

Automatically exported from code.google.com/p/distorm
GNU General Public License v3.0
0 stars 0 forks source link

UNDEFINED instruction #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In what mode did you try to disassemble (16/32/64)?
64
What is the input buffer (binary stream) you used to reproduce the problem?
66 48 0f 6e c2

What is the expected output (or what instruction)?
      .data:0x00000000    66480f6ec2  movq   xmm0,rdx
Ref http://onlinedisassembler.com/odaweb/

Which tool did you use to see the expected output?
str(distorm3.Decompose(0x1056bf5a, '66480f6ec2'.decode('hex'), 2)[0])

What do you see instead?
'UNDEFINED XMM0, RDX'

What version of diStorm are you using? On what platform (Python/EXE/other)?
last?
Please provide any additional information below.

Original issue reported on code.google.com by felipe.a...@gmail.com on 7 Aug 2014 at 8:27

GoogleCodeExporter commented 9 years ago
>>> distorm3.Decompose(0, "66 48 0f 6e c2".replace(" ", "").decode('hex'), 2)
[<distorm3.Instruction object at 0x0000000002691BE0>]
>>> print _[0]
MOVQ XMM0, RDX
>>>

Looks good to me, let me know if you still see this problem with latest version.

Original comment by distorm@gmail.com on 13 Dec 2014 at 10:34

GoogleCodeExporter commented 9 years ago
Also using your way with:
str(distorm3.Decompose(0x1056bf5a, '66480f6ec2'.decode('hex'), 2)[0])
Yielded same correct result.

Original comment by distorm@gmail.com on 13 Dec 2014 at 10:34