1
0
Fork 0

Follow source operand

This commit is contained in:
torusrxxx 2020-07-23 22:06:56 +08:00 committed by Duncan Ogilvie
parent cd91d863ad
commit 3239b790f6
1 changed files with 2 additions and 2 deletions

View File

@ -906,7 +906,7 @@ void Disassembly::keyPressEvent(QKeyEvent* event)
// Follow memory operand in dump
DISASM_INSTR instr;
DbgDisasmAt(rvaToVa(getInitialSelection()), &instr);
for(int op = 0; op < instr.argcount; op++)
for(int op = instr.argcount - 1; op >= 0; op--)
{
if(instr.arg[op].type == arg_memory)
{
@ -922,7 +922,7 @@ void Disassembly::keyPressEvent(QKeyEvent* event)
}
}
// Follow constant in dump
for(int op = 0; op < instr.argcount; op++)
for(int op = instr.argcount - 1; op >= 0; op--)
{
if(instr.arg[op].type == arg_normal)
{