GP-4312 fixed lockup on instruction fallthru override to self

This commit is contained in:
emteere 2024-02-08 23:21:35 +00:00
parent 90dc04c540
commit 1da47a7205

View File

@ -1465,8 +1465,11 @@ 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.
// only assign for branch if it isn't a degenerate fallthru to itself
if (!minInstrAddress.equals(fallthru)) {
nextAddr = fallthru;
}
}
return nextAddr;
}