Class ExternalDebugFilesService
- java.lang.Object
-
- ghidra.app.util.bin.format.dwarf4.external.ExternalDebugFilesService
-
public class ExternalDebugFilesService extends java.lang.ObjectA collection ofsearch locationsthat 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 Summary
Constructors Constructor Description ExternalDebugFilesService(java.util.List<SearchLocation> searchLocations)Creates a new instance using the list of search locations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FSRLfindDebugFile(ExternalDebugInfo debugInfo, TaskMonitor monitor)Searches for the specified external debug file.java.util.List<SearchLocation>getSearchLocations()Returns the configured search locations.
-
-
-
Constructor Detail
-
ExternalDebugFilesService
public ExternalDebugFilesService(java.util.List<SearchLocation> searchLocations)
Creates a new instance using the list of search locations.- Parameters:
searchLocations- list ofsearch 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 filemonitor-TaskMonitor- Returns:
FSRLof found file, ornullif not found- Throws:
java.io.IOException- if error
-
-