Class GroovyDragonPlugin

java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.plugin.ProgramPlugin
rubydragon.DragonPlugin
rubydragon.groovy.GroovyDragonPlugin
All Implemented Interfaces:
ghidra.app.plugin.core.interpreter.InterpreterConnection, ghidra.framework.plugintool.util.PluginEventListener, ghidra.framework.plugintool.util.ServiceListener, ghidra.util.classfinder.ExtensionPoint

public class GroovyDragonPlugin extends DragonPlugin implements ghidra.app.plugin.core.interpreter.InterpreterConnection
GroovyDragon provides an interactive Groovy terminal session within Ghidra.
  • Constructor Details

    • GroovyDragonPlugin

      public GroovyDragonPlugin(ghidra.framework.plugintool.PluginTool tool)
      Plugin constructor.
      Parameters:
      tool - The plugin tool that this plugin is added to.
  • Method Details

    • getInterpreter

      public GhidraInterpreter getInterpreter()
      Gives the Groovy interpreter currently in use.
      Specified by:
      getInterpreter in class DragonPlugin
      Returns:
      The Groovy interpreter for this plugin. Will always be a GroovyGhidraInterpreter instance.
    • init

      public void init()
      Set up the plugin, including the creation of the interactive interpreter.
    • showConsole

      public void showConsole()
      Shows the interpreter console.
      Specified by:
      showConsole in class DragonPlugin