Class InterpreterGhidraScript


public final class InterpreterGhidraScript extends GhidraScript
Custom GhidraScript only for use with the PyGhidra interpreter console
  • Constructor Details

    • InterpreterGhidraScript

      public InterpreterGhidraScript()
  • Method Details

    • run

      public void run()
      Description copied from class: GhidraScript
      The run method is where the script specific code is placed.
      Specified by:
      run in class GhidraScript
    • getCurrentAddress

      public Address getCurrentAddress()
    • getCurrentLocation

      public ProgramLocation getCurrentLocation()
    • getCurrentSelection

      public ProgramSelection getCurrentSelection()
    • getCurrentHighlight

      public ProgramSelection getCurrentHighlight()
    • getWriter

      public PrintWriter getWriter()
    • setCurrentProgram

      public void setCurrentProgram(Program program)
    • setCurrentAddress

      public void setCurrentAddress(Address address)
    • setCurrentLocation

      public void setCurrentLocation(ProgramLocation location)
    • setCurrentSelection

      public void setCurrentSelection(ProgramSelection selection)
    • setCurrentHighlight

      public void setCurrentHighlight(ProgramSelection highlight)
    • set

      public void set(GhidraState state, PrintWriter writer)