mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 06:25:26 +08:00
Merge remote-tracking branch
'origin/GP-4312_emteere_LockupSelfFallthruOverride' into patch (Closes #6179)
This commit is contained in:
@@ -1465,7 +1465,10 @@ public class SymbolicPropogator {
|
|||||||
if (ptype == PcodeOp.BRANCH || ptype == PcodeOp.RETURN || ptype == PcodeOp.BRANCHIND) {
|
if (ptype == PcodeOp.BRANCH || ptype == PcodeOp.RETURN || ptype == PcodeOp.BRANCHIND) {
|
||||||
// if says this is branch, but has a fallthru, then really isn't a fallthru
|
// if says this is branch, but has a fallthru, then really isn't a fallthru
|
||||||
// assume the future flow will have flowed the correct info.
|
// assume the future flow will have flowed the correct info.
|
||||||
nextAddr = fallthru;
|
// only assign for branch if it isn't a degenerate fallthru to itself
|
||||||
|
if (!minInstrAddress.equals(fallthru)) {
|
||||||
|
nextAddr = fallthru;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nextAddr;
|
return nextAddr;
|
||||||
|
|||||||
Reference in New Issue
Block a user