Ghidra is a software reverse engineering (SRE) framework
GP-5919: Backporting decompiler highSymbol NPE fix (Closes #8413)
Ryan Kurtz3e550cf08f8d
diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.javaindex 9f8101bc2a..0b470332fa 100644--- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java+++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerPanel.java@@ -1047,7 +1047,7 @@ public class DecompilerPanel extends JPanel implements FieldMouseListener, Field}HighSymbol highSymbol = highVar.getSymbol();- if (highSymbol.isParameter()) {+ if (highSymbol != null && highSymbol.isParameter()) {// decomp param that is not in the listing; put on signaturereturn new FunctionNameDecompilerLocation(program, entryPoint, cvt.getText(), info);}