mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 10:25:03 +08:00
GP-4312 fixed lockup on instruction fallthru override to self
This commit is contained in:
@@ -1465,7 +1465,10 @@ public class SymbolicPropogator {
|
||||
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
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user