Class HttpDebugInfoDProvider
java.lang.Object
ghidra.app.util.bin.format.dwarf.external.HttpDebugInfoDProvider
- All Implemented Interfaces:
DebugInfoProvider,DebugStreamProvider
Queries debuginfod REST servers for debug objects.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.app.util.bin.format.dwarf.external.DebugStreamProvider
DebugStreamProvider.StreamInfo -
Constructor Summary
ConstructorsConstructorDescriptionHttpDebugInfoDProvider(URI serverURI) Creates a new instance of a HttpSymbolServer. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpDebugInfoDProvidercreate(String name, DebugInfoProviderCreatorContext context) Returns a human formatted string describing this provider, used in UI prompts or lists.getName()Returns the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data".intintgetStatus(TaskMonitor monitor) Returns DebugInfoProviderStatus representing this provider's current status.getStream(ExternalDebugInfo id, TaskMonitor monitor) static booleanvoidsetHttpRequestTimeoutMs(int httpRequestTimeoutMs) voidsetMaxRetryCount(int maxRetryCount)
-
Constructor Details
-
HttpDebugInfoDProvider
Creates a new instance of a HttpSymbolServer.- Parameters:
serverURI- URI / URL of the symbol server
-
-
Method Details
-
matches
-
create
-
getName
Description copied from interface:DebugInfoProviderReturns the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data".- Specified by:
getNamein interfaceDebugInfoProvider- Returns:
- the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data"
-
getDescriptiveName
Description copied from interface:DebugInfoProviderReturns a human formatted string describing this provider, used in UI prompts or lists.- Specified by:
getDescriptiveNamein interfaceDebugInfoProvider- Returns:
- a human formatted string describing this provider, used in UI prompts or lists
-
getStatus
Description copied from interface:DebugInfoProviderReturns DebugInfoProviderStatus representing this provider's current status.- Specified by:
getStatusin interfaceDebugInfoProvider- Parameters:
monitor-TaskMonitor- Returns:
- DebugInfoProviderStatus representing this provider's current status
-
getStream
public DebugStreamProvider.StreamInfo getStream(ExternalDebugInfo id, TaskMonitor monitor) throws IOException, CancelledException - Specified by:
getStreamin interfaceDebugStreamProvider- Throws:
IOExceptionCancelledException
-
getNotFoundCount
public int getNotFoundCount() -
getRetriedCount
public int getRetriedCount() -
setMaxRetryCount
public void setMaxRetryCount(int maxRetryCount) -
setHttpRequestTimeoutMs
public void setHttpRequestTimeoutMs(int httpRequestTimeoutMs)
-