Class SymbolMatcher

java.lang.Object
ghidra.app.util.navigation.SymbolMatcher

public class SymbolMatcher extends Object
Class for matching symbol names with or without namespace paths and wildcards.
  • Constructor Details

    • SymbolMatcher

      public SymbolMatcher(String queryString, boolean caseSensitive)
  • Method Details

    • getSymbolName

      public String getSymbolName()
    • hasFullySpecifiedName

      public boolean hasFullySpecifiedName()
      Returns true if the symbol name part of the query string has no wildcards and is case sensitive.
      Returns:
      true if the query has no wildcards and is case sensitive.
    • hasWildCardsInSymbolName

      public boolean hasWildCardsInSymbolName()
      Returns true if there are wildcards in the symbol name.
      Returns:
      true if there are wildcards in the symbol name
    • matches

      public boolean matches(Symbol symbol)
      Returns true if the given symbol matches the query specification for this matcher.
      Parameters:
      symbol - the symbol to test
      Returns:
      true if the given symbol matches the query specification for this matcher