Class DisabledDebugInfoProvider

java.lang.Object
ghidra.app.util.bin.format.dwarf.external.DisabledDebugInfoProvider
All Implemented Interfaces:
DebugInfoProvider

public class DisabledDebugInfoProvider extends Object implements DebugInfoProvider
Wrapper around a DebugInfoProvider that prevents it from being queried, but retains it in the configuration list.
  • Constructor Details

    • DisabledDebugInfoProvider

      public DisabledDebugInfoProvider(DebugInfoProvider delegate)
  • Method Details

    • matches

      public static boolean matches(String name)
      Predicate that tests if the name string is an instance of a disabled name.
      Parameters:
      name - string
      Returns:
      boolean true if the string should be handled by the DisabledSymbolServer class
    • create

      public static DebugInfoProvider create(String name, DebugInfoProviderCreatorContext context)
      Factory method to create new instances from a name string.
      Parameters:
      name - string, earlier returned from getName()
      context - DebugInfoProviderCreatorContext to allow accessing information outside of the name string that might be needed to create a new instance
      Returns:
      new instance, or null if invalid name string
    • getName

      public String getName()
      Description copied from interface: DebugInfoProvider
      Returns the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data".
      Specified by:
      getName in interface DebugInfoProvider
      Returns:
      the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data"
    • getDescriptiveName

      public String getDescriptiveName()
      Description copied from interface: DebugInfoProvider
      Returns a human formatted string describing this provider, used in UI prompts or lists.
      Specified by:
      getDescriptiveName in interface DebugInfoProvider
      Returns:
      a human formatted string describing this provider, used in UI prompts or lists
    • getDelegate

      public DebugInfoProvider getDelegate()
    • getStatus

      public DebugInfoProviderStatus getStatus(TaskMonitor monitor)
      Description copied from interface: DebugInfoProvider
      Returns DebugInfoProviderStatus representing this provider's current status.
      Specified by:
      getStatus in interface DebugInfoProvider
      Parameters:
      monitor - TaskMonitor
      Returns:
      DebugInfoProviderStatus representing this provider's current status