Class SameDirSearchLocation
java.lang.Object
ghidra.app.util.bin.format.dwarf.external.SameDirSearchLocation
- All Implemented Interfaces:
- SearchLocation
A 
SearchLocation that only looks in the program's original import directory.- 
Constructor SummaryConstructorsConstructorDescriptionSameDirSearchLocation(File progDir) Creates a newSameDirSearchLocationat the specified location.
- 
Method SummaryModifier and TypeMethodDescriptionstatic SameDirSearchLocationcreate(String locString, SearchLocationCreatorContext context) Creates a newSameDirSearchLocationinstance using the current program's import location.findDebugFile(ExternalDebugInfo debugInfo, TaskMonitor monitor) Searchs for a debug file that fulfills the criteria specified in theExternalDebugInfo.Returns a human formatted string describing this location, used in UI prompts or lists.getName()Returns the name of this instance, which should be a serialized copy of this instance.static booleanisSameDirSearchLocation(String locString) Returns true if the specified location string specifies a SameDirSearchLocation.
- 
Constructor Details- 
SameDirSearchLocationCreates a newSameDirSearchLocationat the specified location.- Parameters:
- progDir- path to the program's import directory
 
 
- 
- 
Method Details- 
isSameDirSearchLocationReturns true if the specified location string specifies a SameDirSearchLocation.- Parameters:
- locString- string to test
- Returns:
- boolean true if locString specifies a BuildId location
 
- 
createCreates a newSameDirSearchLocationinstance using the current program's import location.- Parameters:
- locString- unused
- context-- SearchLocationCreatorContext
- Returns:
- new SameDirSearchLocationinstance
 
- 
getNameDescription copied from interface:SearchLocationReturns the name of this instance, which should be a serialized copy of this instance.- Specified by:
- getNamein interface- SearchLocation
- Returns:
- String serialized data of this instance, typically in "something://serialized_data" form
 
- 
getDescriptiveNameDescription copied from interface:SearchLocationReturns a human formatted string describing this location, used in UI prompts or lists.- Specified by:
- getDescriptiveNamein interface- SearchLocation
- Returns:
- formatted string
 
- 
findDebugFilepublic FSRL findDebugFile(ExternalDebugInfo debugInfo, TaskMonitor monitor) throws IOException, CancelledException Description copied from interface:SearchLocationSearchs for a debug file that fulfills the criteria specified in theExternalDebugInfo.- Specified by:
- findDebugFilein interface- SearchLocation
- Parameters:
- debugInfo- search criteria
- monitor-- TaskMonitor
- Returns:
- FSRLof the matching file, or- nullif not found
- Throws:
- IOException- if error
- CancelledException- if cancelled
 
 
-