Ghidra is a software reverse engineering (SRE) framework
Do p-code injection prior to jumptable recovery
caheckman4234f1dc0b14
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/flow.ccindex 9421da8c96..dac7169ccd 100644--- a/Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/flow.cc@@ -755,6 +755,8 @@ void FlowInfo::generateOps(void)addrlist.push_back(data.getAddress());while(!addrlist.empty()) // Recovering as much as possible except jumptablesfallthru();+ if (hasInject())+ injectPcode();do {bool collapsed_jumptable = false;while(!tablelist.empty()) { // For each jumptable found