mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-02 09:01:48 +00:00
GP-4312 fixed lockup on instruction fallthru override to self
This commit is contained in:
parent
90dc04c540
commit
1da47a7205
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user