1
0
Fork 0

DBG: fixed a bug in DbgDisasmFastAt

This commit is contained in:
Mr. eXoDia 2014-08-28 05:53:06 +02:00
parent 9fc99e1c42
commit 773b324301
1 changed files with 2 additions and 0 deletions

View File

@ -739,6 +739,8 @@ extern "C" DLL_EXPORT uint _dbg_sendmessage(DBGMSG type, void* param1, void* par
disasm.EIP = (UIntPtr)data;
disasm.VirtualAddr = (UInt64)param1;
int len = Disasm(&disasm);
if(len == UNKNOWN_OPCODE)
len = 1;
uint i = 0;
BASIC_INSTRUCTION_INFO* basicinfo = (BASIC_INSTRUCTION_INFO*)param2;
fillbasicinfo(&disasm, basicinfo);