GUI: ignore ret branch in DisassemblyPopup
This commit is contained in:
parent
d5743b172c
commit
62d4b3c0c4
|
|
@ -141,7 +141,7 @@ void DisassemblyPopup::setAddress(duint Address)
|
|||
if(instruction.instStr.contains("jmp") && instruction.instStr.contains("["))
|
||||
break;
|
||||
}
|
||||
if(instruction.branchDestination && !instruction.instStr.contains("call"))
|
||||
if(instruction.branchDestination && !instruction.instStr.contains("call") && !instruction.instStr.contains("ret"))
|
||||
{
|
||||
hadBranch = true;
|
||||
if(instruction.branchDestination > bestBranch)
|
||||
|
|
|
|||
Loading…
Reference in New Issue