Ghidra is a software reverse engineering (SRE) framework
GP-0: Fix GP-2642: User default space pointer size if no PC.
Dan91577921768f
diff --git a/Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeExecutor.java b/Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeExecutor.javaindex 4ecebbb51e..0e52acdeee 100644--- a/Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeExecutor.java+++ b/Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeExecutor.java@@ -64,7 +64,7 @@ public class PcodeExecutor<T> {this.reason = reason;this.pc = language.getProgramCounter();- this.pcSize = pc.getNumBytes();+ this.pcSize = pc != null ? pc.getNumBytes() : language.getDefaultSpace().getPointerSize();}/**