Ghidra is a software reverse engineering (SRE) framework
GP-1 Correct NPE with symbol filter restore
ghidra10234da5db594
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/symtable/NewSymbolFilter.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/symtable/NewSymbolFilter.javaindex 2cda64dea8..955b1fe30b 100644--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/symtable/NewSymbolFilter.java+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/symtable/NewSymbolFilter.java@@ -270,7 +270,9 @@ public class NewSymbolFilter implements SymbolFilter {for (Element child : children) {String childName = child.getAttributeValue(Filter.NAME_ATTRIBUTE);Filter f = filterMap.get(childName);- f.restoreFromXml(child);+ if (f != null) { // NOTE: filter definition may have been dropped and not found+ f.restoreFromXml(child);+ }}rebuildActiveFilters();