Class ExternalDebugFilesService
java.lang.Object
ghidra.app.util.bin.format.dwarf.external.ExternalDebugFilesService
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 Summary
ConstructorDescriptionExternalDebugFilesService
(List<SearchLocation> searchLocations) Creates a new instance using the list of search locations. -
Method Summary
Modifier and TypeMethodDescriptionfindDebugFile
(ExternalDebugInfo debugInfo, TaskMonitor monitor) Searches for the specified external debug file.Returns the configured search locations.
-
Constructor Details
-
ExternalDebugFilesService
Creates a new instance using the list of search locations.- Parameters:
searchLocations
- list ofsearch locations
-
-
Method Details
-
getSearchLocations
Returns the configured search locations.- Returns:
- list of search locations
-
findDebugFile
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:
FSRL
of found file, ornull
if not found- Throws:
IOException
- if error
-