Class ExternalDebugFilesService


  • public class ExternalDebugFilesService
    extends java.lang.Object
    A collection of search locations that can be queried to find a DWARF external debug file, which is a second ELF binary that contains the debug information that was stripped from the original ELF binary.
    • Constructor Detail

      • ExternalDebugFilesService

        public ExternalDebugFilesService​(java.util.List<SearchLocation> searchLocations)
        Creates a new instance using the list of search locations.
        Parameters:
        searchLocations - list of search locations
    • Method Detail

      • getSearchLocations

        public java.util.List<SearchLocation> getSearchLocations()
        Returns the configured search locations.
        Returns:
        list of search locations
      • findDebugFile

        public FSRL findDebugFile​(ExternalDebugInfo debugInfo,
                                  TaskMonitor monitor)
                           throws java.io.IOException
        Searches for the specified external debug file.

        Returns the FSRL of a matching file, or null if not found.

        Parameters:
        debugInfo - information about the external debug file
        monitor - TaskMonitor
        Returns:
        FSRL of found file, or null if not found
        Throws:
        java.io.IOException - if error