Class SearchSettings

java.lang.Object
ghidra.features.base.memsearch.gui.SearchSettings

public class SearchSettings extends Object
Immutable container for all the relevant search settings.
  • Constructor Details

    • SearchSettings

      public SearchSettings()
  • Method Details

    • getSearchFormat

      public SearchFormat getSearchFormat()
      Returns the SearchFormat to be used to parse the input text.
      Returns:
      the search format to be used to parse the input text
    • withSearchFormat

      public SearchSettings withSearchFormat(SearchFormat format)
      Creates a copy of this settings object, but using the given search format.
      Parameters:
      format - the new search format
      Returns:
      a new search settings that is the same as this settings except for the format
    • isBigEndian

      public boolean isBigEndian()
    • withBigEndian

      public SearchSettings withBigEndian(boolean isBigEndian)
    • withStringCharset

      public SearchSettings withStringCharset(Charset stringCharset)
    • getStringCharset

      public Charset getStringCharset()
    • useEscapeSequences

      public boolean useEscapeSequences()
    • withUseEscapeSequence

      public SearchSettings withUseEscapeSequence(boolean b)
    • isCaseSensitive

      public boolean isCaseSensitive()
    • withCaseSensitive

      public SearchSettings withCaseSensitive(boolean b)
    • isDecimalUnsigned

      public boolean isDecimalUnsigned()
    • withDecimalUnsigned

      public SearchSettings withDecimalUnsigned(boolean b)
    • getDecimalByteSize

      public int getDecimalByteSize()
    • withDecimalByteSize

      public SearchSettings withDecimalByteSize(int byteSize)
    • includeInstructions

      public boolean includeInstructions()
    • withIncludeInstructions

      public SearchSettings withIncludeInstructions(boolean b)
    • includeDefinedData

      public boolean includeDefinedData()
    • withIncludeDefinedData

      public SearchSettings withIncludeDefinedData(boolean b)
    • includeUndefinedData

      public boolean includeUndefinedData()
    • withIncludeUndefinedData

      public SearchSettings withIncludeUndefinedData(boolean b)
    • getAlignment

      public int getAlignment()
    • withAlignment

      public SearchSettings withAlignment(int newAlignment)
    • getSelectedMemoryRegions

      public Set<SearchRegion> getSelectedMemoryRegions()
    • withSelectedRegions

      public SearchSettings withSelectedRegions(Set<SearchRegion> regions)
    • isSelectedRegion

      public boolean isSelectedRegion(SearchRegion region)
    • withSelectedRegion

      public SearchSettings withSelectedRegion(SearchRegion region, boolean select)
    • getSearchAddresses

      public AddressSet getSearchAddresses(Program program)