Class SearchSettings
java.lang.Object
ghidra.features.base.memsearch.gui.SearchSettings
Immutable container for all the relevant search settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetSearchAddresses(Program program) Returns theSearchFormatto be used to parse the input text.booleanbooleanbooleanbooleanbooleanbooleanbooleanisSelectedRegion(SearchRegion region) booleanwithAlignment(int newAlignment) withBigEndian(boolean isBigEndian) withCaseSensitive(boolean b) withDecimalByteSize(int byteSize) withDecimalUnsigned(boolean b) withIncludeDefinedData(boolean b) withIncludeInstructions(boolean b) withIncludeUndefinedData(boolean b) withSearchFormat(SearchFormat format) Creates a copy of this settings object, but using the given search format.withSelectedRegion(SearchRegion region, boolean select) withSelectedRegions(Set<SearchRegion> regions) withStringCharset(Charset stringCharset) withUseEscapeSequence(boolean b)
-
Constructor Details
-
SearchSettings
public SearchSettings()
-
-
Method Details
-
getSearchFormat
Returns theSearchFormatto be used to parse the input text.- Returns:
- the search format to be used to parse the input text
-
withSearchFormat
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
-
withStringCharset
-
getStringCharset
-
useEscapeSequences
public boolean useEscapeSequences() -
withUseEscapeSequence
-
isCaseSensitive
public boolean isCaseSensitive() -
withCaseSensitive
-
isDecimalUnsigned
public boolean isDecimalUnsigned() -
withDecimalUnsigned
-
getDecimalByteSize
public int getDecimalByteSize() -
withDecimalByteSize
-
includeInstructions
public boolean includeInstructions() -
withIncludeInstructions
-
includeDefinedData
public boolean includeDefinedData() -
withIncludeDefinedData
-
includeUndefinedData
public boolean includeUndefinedData() -
withIncludeUndefinedData
-
getAlignment
public int getAlignment() -
withAlignment
-
getSelectedMemoryRegions
-
withSelectedRegions
-
isSelectedRegion
-
withSelectedRegion
-
getSearchAddresses
-