mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2764 fixed bug fund in testing
This commit is contained in:
@@ -282,7 +282,7 @@ public class SharedReturnAnalysisCmd extends BackgroundCommand {
|
|||||||
Address fallFrom = instr.getFallFrom();
|
Address fallFrom = instr.getFallFrom();
|
||||||
if (fallFrom != null) {
|
if (fallFrom != null) {
|
||||||
Instruction fallInstr = program.getListing().getInstructionContaining(fallFrom);
|
Instruction fallInstr = program.getListing().getInstructionContaining(fallFrom);
|
||||||
if (fallInstr != null && fallInstr.getFallThrough().equals(location)) {
|
if (fallInstr != null && location.equals(fallInstr.getFallThrough())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user