Class SearchGuiModel
java.lang.Object
ghidra.features.base.memsearch.gui.SearchGuiModel
Maintains the state of all the settings and controls for the memory search window.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChangeCallback
(Consumer<SearchSettings> changeCallback) int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isSelectedRegion
(SearchRegion region) void
selectRegion
(SearchRegion region, boolean selected) void
setAlignment
(int alignment) void
void
setAutoRestrictSelection
(boolean autoRestrictSelection) void
setBigEndian
(boolean b) void
setCaseSensitive
(boolean selected) void
setDecimalByteSize
(int byteSize) void
setDecimalUnsigned
(boolean selected) void
setHasSelection
(boolean b) void
setIncludeDefinedData
(boolean selected) void
setIncludeInstructions
(boolean selected) void
setIncludeUndefinedData
(boolean selected) void
setMatchCombiner
(Combiner combiner) void
setSearchFormat
(SearchFormat searchFormat) void
setSearchSelectionOnly
(boolean b) void
setSettings
(SearchSettings newSettings) void
setStringCharset
(Charset charset) void
setUseEscapeSequences
(boolean selected) boolean
-
Constructor Details
-
SearchGuiModel
-
-
Method Details
-
setAutoRestrictSelection
public void setAutoRestrictSelection() -
addChangeCallback
-
isSearchSelectionOnly
public boolean isSearchSelectionOnly() -
hasSelection
public boolean hasSelection() -
setHasSelection
public void setHasSelection(boolean b) -
setSearchSelectionOnly
public void setSearchSelectionOnly(boolean b) -
getSearchFormat
-
getSettings
-
setSearchFormat
-
parse
-
getAlignment
public int getAlignment() -
setAlignment
public void setAlignment(int alignment) -
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
-
getStringCharset
-
getMemoryRegionChoices
-
setMatchCombiner
-
getMatchCombiner
-
setAutoRestrictSelection
public void setAutoRestrictSelection(boolean autoRestrictSelection) -
selectRegion
-
isSelectedRegion
-
setSettings
-