Fixed Go To for functions with default names so that a table of choices

is not shown
This commit is contained in:
dragonmacher 2024-11-19 15:09:12 -05:00
parent 9421ec0ab0
commit 68bb1e182a

View File

@ -184,8 +184,10 @@ public class SymbolSearcher {
return; return;
} }
Symbol s = program.getSymbolTable().getPrimarySymbol(address); Symbol s = program.getSymbolTable().getPrimarySymbol(address);
if (s.isDynamic()) { // non-dynamic symbols have already been searched (ex, FUN_12345678)
addSymbolIfMatches(s, locations); addSymbolIfMatches(s, locations);
} }
}
private void searchDefinedSymbols(Program program, List<ProgramLocation> locations) { private void searchDefinedSymbols(Program program, List<ProgramLocation> locations) {
String symbolName = symbolMatcher.getSymbolName(); String symbolName = symbolMatcher.getSymbolName();