mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
Merge remote-tracking branch 'origin/GT-3183-dragonmacher-symbol-tree-deleted-symbol-fix' into Ghidra_9.1
This commit is contained in:
commit
5ee22586af
1 changed files with 2 additions and 5 deletions
|
@ -24,7 +24,6 @@ import ghidra.app.plugin.core.symboltree.SymbolCategory;
|
|||
import ghidra.program.model.address.AddressIterator;
|
||||
import ghidra.program.model.listing.Program;
|
||||
import ghidra.program.model.symbol.Symbol;
|
||||
import ghidra.program.model.symbol.SymbolType;
|
||||
import ghidra.util.task.TaskMonitor;
|
||||
import resources.ResourceManager;
|
||||
|
||||
|
@ -69,11 +68,9 @@ class ExportsCategoryNode extends SymbolCategoryNode {
|
|||
|
||||
@Override
|
||||
protected boolean supportsSymbol(Symbol symbol) {
|
||||
SymbolType symbolType = symbol.getSymbolType();
|
||||
if (symbolType == symbolCategory.getSymbolType()) {
|
||||
return true;
|
||||
if (!symbol.isPrimary()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return symbol.isExternalEntryPoint() || symbol.getParentSymbol().isExternalEntryPoint();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue