Package ghidra.util

Interface Fixup


  • public interface Fixup
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canFixup()
      Return true if this Fixup object can automatically perform some action to address the issue.
      boolean fixup​(ServiceProvider provider)
      Attempts to perform some action or task to "fix" the related issue.
      java.lang.String getDescription()
      Returns a description of what this Fixup.
    • Method Detail

      • getDescription

        java.lang.String getDescription()
        Returns a description of what this Fixup. Typically, it will either be a simple suggestion for something the user could do, or it might be a description of whate the fixup() method will attempt to do to address some issue.
        Returns:
        a description for this Fixup
      • canFixup

        boolean canFixup()
        Return true if this Fixup object can automatically perform some action to address the issue. false if the fixup() method does nothing.
        Returns:
      • fixup

        boolean fixup​(ServiceProvider provider)
        Attempts to perform some action or task to "fix" the related issue.
        Parameters:
        provider - a service provider that can provide various services.
        Returns:
        true if the fixup performed its intended action.