Ghidra is a software reverse engineering (SRE) framework
Don't filter JumpAssist from switch analysis
caheckman583847b76109
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.ccindex ac083b6381..38d6a2da1a 100644--- a/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/funcdata_block.cc@@ -572,10 +572,11 @@ bool Funcdata::earlyJumpTableFail(PcodeOp *op)OpCode opc = op->code();if (opc == CPUI_CALLOTHER) {int4 id = (int4)op->getIn(0)->getOffset();- InjectedUserOp *userOp = dynamic_cast<InjectedUserOp *>(glb->userops.getOp(id));- if (userOp != (InjectedUserOp *)0) {+ UserPcodeOp *userOp = glb->userops.getOp(id);+ if (dynamic_cast<InjectedUserOp *>(userOp) != (InjectedUserOp *)0)return false; // Don't try to back track through injection- }+ if (dynamic_cast<JumpAssistOp *>(userOp) != (JumpAssistOp *)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