diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/SymbolRecords.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/SymbolRecords.java index 6a54442654..29a33431ef 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/SymbolRecords.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/SymbolRecords.java @@ -135,6 +135,9 @@ public class SymbolRecords { if (debugInfo == null) { return; } + if (debugInfo.getModuleInformationList().isEmpty()) { + return; + } // We are assuming that first in the list is the one to look at for cases 1 and 2. // If something else like lowest stream number, then need to change the logic. ModuleInformation moduleInfo = debugInfo.getModuleInformationList().get(0);