Ghidra is a software reverse engineering (SRE) framework
Fix EmulatePcodeCache::executeBranch
Asad Mehmoodf928ab1fe18e
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/emulate.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/emulate.ccindex cbb0522f31..b26bf24d83 100644--- a/Ghidra/Features/Decompiler/src/decompile/cpp/emulate.cc+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/emulate.cc@@ -413,6 +413,8 @@ void EmulatePcodeCache::executeBranch(void)fallthruOp();else if ((current_op < 0)||(current_op >= opcache.size()))throw LowlevelError("Bad intra-instruction branch");+ else+ establishOp();}elsesetExecuteAddress(destaddr);