Package ghidra.util

Interface Fixup


public interface Fixup
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if this Fixup object can automatically perform some action to address the issue.
    boolean
    Attempts to perform some action or task to "fix" the related issue.
    Returns a description of what this Fixup.
  • Method Details

    • getDescription

      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.