gdabah / distorm

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

REPZ prefix prints out as REP #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In what mode did you try to disassemble (16/32/64)? 32-bit

What is the input buffer (binary stream) you used to reproduce the problem?
Use hex.

   f3 a7          ; get "rep CMPSD", should be "repz CMPSD"
   f3 66 a7       ; get "rep CMPSW", should be "repz CMPSW"
   f3 a6          ; get "rep CMPSB", should be "repz CMPSB"

   f3 af          ; get "rep SCASD", should be "repz SCASD"
   f3 66 af       ; get "rep SCASW", should be "repz SCASW"
   f3 ae          ; get "rep SCASB", should be "repz SCASB"

What is the expected output (or what instruction)?
   See above.

Which tool did you use to see the expected output?
  libdistorm3.so, invoking distorm3.DecomposeGenerator with distorm3.Decode32Bits parameter.

What do you see instead?
   See above.

What version of diStorm are you using? On what platform (Python/EXE/other)?
   Built Linux version of libdistorm3.so from (read only) SVN repository revision 231, updated on April 24, 2013.

Please provide any additional information below.
   The "repnz" prefix for these instructions decodes correctly.

Original issue reported on code.google.com by mpleszk...@yahoo.com on 24 Apr 2013 at 7:59

GoogleCodeExporter commented 9 years ago
Regression in diStorm3 I think. Confirmed and fixed.
Thanks.

Original comment by distorm@gmail.com on 22 Jun 2013 at 8:05

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r233.

Original comment by distorm@gmail.com on 22 Jun 2013 at 8:06