Class SearchGuiModel

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

public class SearchGuiModel extends Object
Maintains the state of all the settings and controls for the memory search window.
  • Constructor Details

  • Method Details

    • setAutoRestrictSelection

      public void setAutoRestrictSelection()
    • addChangeCallback

      public void addChangeCallback(Consumer<SearchSettings> changeCallback)
    • isSearchSelectionOnly

      public boolean isSearchSelectionOnly()
    • hasSelection

      public boolean hasSelection()
    • setHasSelection

      public void setHasSelection(boolean b)
    • setSearchSelectionOnly

      public void setSearchSelectionOnly(boolean b)
    • getSearchFormat

      public SearchFormat getSearchFormat()
    • getSettings

      public SearchSettings getSettings()
    • setSearchFormat

      public void setSearchFormat(SearchFormat searchFormat)
    • parse

      public ByteMatcher parse(String proposedText)
    • getAlignment

      public int getAlignment()
    • setAlignment

      public void setAlignment(int alignment)
    • getSelectedMemoryRegions

      public Set<SearchRegion> getSelectedMemoryRegions()
    • includeInstructions

      public boolean includeInstructions()
    • includeDefinedData

      public boolean includeDefinedData()
    • includeUndefinedData

      public boolean includeUndefinedData()
    • setIncludeInstructions

      public void setIncludeInstructions(boolean selected)
    • setIncludeDefinedData

      public void setIncludeDefinedData(boolean selected)
    • setIncludeUndefinedData

      public void setIncludeUndefinedData(boolean selected)
    • isBigEndian

      public boolean isBigEndian()
    • setBigEndian

      public void setBigEndian(boolean b)
    • isCaseSensitive

      public boolean isCaseSensitive()
    • setCaseSensitive

      public void setCaseSensitive(boolean selected)
    • useEscapeSequences

      public boolean useEscapeSequences()
    • setUseEscapeSequences

      public void setUseEscapeSequences(boolean selected)
    • setDecimalUnsigned

      public void setDecimalUnsigned(boolean selected)
    • isDecimalUnsigned

      public boolean isDecimalUnsigned()
    • setDecimalByteSize

      public void setDecimalByteSize(int byteSize)
    • getDecimalByteSize

      public int getDecimalByteSize()
    • setStringCharset

      public void setStringCharset(Charset charset)
    • getStringCharset

      public Charset getStringCharset()
    • getMemoryRegionChoices

      public List<SearchRegion> getMemoryRegionChoices()
    • setMatchCombiner

      public void setMatchCombiner(Combiner combiner)
    • getMatchCombiner

      public Combiner getMatchCombiner()
    • setAutoRestrictSelection

      public void setAutoRestrictSelection(boolean autoRestrictSelection)
    • selectRegion

      public void selectRegion(SearchRegion region, boolean selected)
    • isSelectedRegion

      public boolean isSelectedRegion(SearchRegion region)
    • setSettings

      public void setSettings(SearchSettings newSettings)