From 68bb1e182ab6ef5a02fff292feef8af9f8ac30d5 Mon Sep 17 00:00:00 2001 From: dragonmacher <48328597+dragonmacher@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:09:12 -0500 Subject: [PATCH] Fixed Go To for functions with default names so that a table of choices is not shown --- .../main/java/ghidra/app/util/navigation/SymbolSearcher.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/SymbolSearcher.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/SymbolSearcher.java index ba738dd783..fc51358561 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/SymbolSearcher.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/navigation/SymbolSearcher.java @@ -184,7 +184,9 @@ public class SymbolSearcher { return; } Symbol s = program.getSymbolTable().getPrimarySymbol(address); - addSymbolIfMatches(s, locations); + if (s.isDynamic()) { // non-dynamic symbols have already been searched (ex, FUN_12345678) + addSymbolIfMatches(s, locations); + } } private void searchDefinedSymbols(Program program, List locations) {