Merge remote-tracking branch 'origin/GP-0_emteere_ThunkTestFailureFix' into Ghidra_10.3

This commit is contained in:
ghidra1
2023-05-09 13:28:58 -04:00
@@ -369,9 +369,11 @@ public class DecompilerSwitchAnalyzer extends AbstractAnalyzer {
// go ahead and place the reference, since it is a constant. // go ahead and place the reference, since it is a constant.
if (refType.isComputed() && refType.isFlow() && if (refType.isComputed() && refType.isFlow() &&
program.getMemory().contains(address)) { program.getMemory().contains(address)) {
propogateCodeMode(context, address);
foundCount.incrementAndGet(); foundCount.incrementAndGet();
return true; // don't propagate low code mode, let something else do that
// propogateCodeMode(context, address);
// don't make references, let other analysis do this
//return true;
} }
return false; return false;
} }