Class SearchInfo


  • public class SearchInfo
    extends java.lang.Object
    • Field Detail

      • searchSelection

        protected final boolean searchSelection
      • includeNonLoadedBlocks

        protected final boolean includeNonLoadedBlocks
    • 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 program
        startAddress - starting point for search or null to start from the top of memory
        selection - addresses to be searched or null to search all memory
        Returns:
        searchable address set
      • isSearchForward

        public boolean isSearchForward()
      • isSearchAll

        public boolean isSearchAll()
      • getAlignment

        public int getAlignment()
      • getMatchLimit

        public int getMatchLimit()
      • getSearchData

        public ghidra.app.plugin.core.searchmem.SearchData getSearchData()
      • getSearchLimit

        public int getSearchLimit()