wuhailinjerry / edb-debugger

Automatically exported from code.google.com/p/edb-debugger
GNU General Public License v2.0
0 stars 0 forks source link

some instructions are not displayed #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Created attachment 13
screenshot with code from editor and debugger

code is 32-bit

source:
    xor eax, eax
    dec eax
    lea ecx, [node]

debugger displays:
  31 c0         xor eax, eax
  48 8d 4d ec   lea rcx, [rbp-20]

As you can see, 'dec eax' instruction is not displayed, however it's code 
(0x48) is displayed in the line with lea. The same problem can be observed with 
inc instruction.

Original issue reported on code.google.com by evan.teran on 3 Oct 2012 at 3:21

GoogleCodeExporter commented 9 years ago

Original comment by evan.teran on 3 Oct 2012 at 5:04

Attachments:

GoogleCodeExporter commented 9 years ago
it looks like you are trying to disassembly 32-bit code with a 64-bit version 
of edb. This is currently not supported (In fact, there should have been a 
message box saying so when you launched the application from edb, I forget if 
this is the case with attaching to a currently running applications).

Original comment by evan.teran on 3 Oct 2012 at 5:04