Package ghidra.util.search.memory
Class SearchInfo
- java.lang.Object
-
- ghidra.util.search.memory.SearchInfo
-
public class SearchInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanincludeNonLoadedBlocksprotected booleansearchSelection
-
Constructor Summary
Constructors Constructor Description SearchInfo(ghidra.app.plugin.core.searchmem.SearchData searchData, int matchLimit, boolean searchSelection, boolean forwardSearch, int alignment, boolean includeNonLoadedBlocks, CodeUnitSearchInfo codeUnitSearchInfo, TaskListener listener)SearchInfo(ghidra.app.plugin.core.searchmem.SearchData searchData, int matchLimit, boolean searchSelection, boolean forwardSearch, int alignment, boolean includeNonLoadedBlocks, TaskListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemorySearchAlgorithmcreateSearchAlgorithm(Program p, Address start, ProgramSelection selection)intgetAlignment()CodeUnitSearchInfogetCodeUnitSearchInfo()TaskListenergetListener()intgetMatchLimit()protected AddressSetViewgetSearchableAddressSet(Program program, Address startAddress, ProgramSelection selection)Generate an address set which only includes initialized memoryghidra.app.plugin.core.searchmem.SearchDatagetSearchData()intgetSearchLimit()booleanisSearchAll()booleanisSearchForward()
-
-
-
Constructor Detail
-
SearchInfo
public SearchInfo(ghidra.app.plugin.core.searchmem.SearchData searchData, int matchLimit, boolean searchSelection, boolean forwardSearch, int alignment, boolean includeNonLoadedBlocks, TaskListener listener)
-
SearchInfo
public SearchInfo(ghidra.app.plugin.core.searchmem.SearchData searchData, int matchLimit, boolean searchSelection, boolean forwardSearch, int alignment, boolean includeNonLoadedBlocks, CodeUnitSearchInfo codeUnitSearchInfo, TaskListener listener)
-
-
Method Detail
-
getSearchableAddressSet
protected AddressSetView getSearchableAddressSet(Program program, Address startAddress, ProgramSelection selection)
Generate an address set which only includes initialized memory- Parameters:
program- the programstartAddress- starting point for search or null to start from the top of memoryselection- addresses to be searched or null to search all memory- Returns:
- searchable address set
-
createSearchAlgorithm
public MemorySearchAlgorithm createSearchAlgorithm(Program p, Address start, ProgramSelection selection)
-
isSearchForward
public boolean isSearchForward()
-
isSearchAll
public boolean isSearchAll()
-
getAlignment
public int getAlignment()
-
getMatchLimit
public int getMatchLimit()
-
getListener
public TaskListener getListener()
-
getSearchData
public ghidra.app.plugin.core.searchmem.SearchData getSearchData()
-
getCodeUnitSearchInfo
public CodeUnitSearchInfo getCodeUnitSearchInfo()
-
getSearchLimit
public int getSearchLimit()
-
-