1
0
Fork 0

GUI: ignore ret branch in DisassemblyPopup

This commit is contained in:
mrexodia 2016-10-23 15:22:45 +02:00
parent d5743b172c
commit 62d4b3c0c4
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -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)