GP-3075 Don't filter segment op from switch analysis

This commit is contained in:
caheckman 2023-02-02 12:05:24 -05:00
parent dcaba597c8
commit 7149c92e4b

View file

@ -577,6 +577,8 @@ bool Funcdata::earlyJumpTableFail(PcodeOp *op)
return false; // Don't try to back track through injection
if (dynamic_cast<JumpAssistOp *>(userOp) != (JumpAssistOp *)0)
return false;
if (dynamic_cast<SegmentOp *>(userOp) != (SegmentOp *)0)
return false;
if (outhit)
return true; // Address formed via uninjected CALLOTHER, analysis will fail
// Assume CALLOTHER will not interfere with address and continue backtracking