diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc index dd3b411738..cf11767b67 100644 --- a/Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc +++ b/Ghidra/Features/Decompiler/src/decompile/cpp/heritage.cc @@ -973,6 +973,11 @@ bool Heritage::discoverIndexedStackPointers(AddrSpace *spc,vector &fr } break; } + case CPUI_SEGMENTOP: + { + if (op->getIn(2) != curNode.vn) break; // Check that stackpointer comes in as inner pointer + // Treat output as having the same offset, fallthru to COPY + } case CPUI_INDIRECT: case CPUI_COPY: {