Class JShellDragonPlugin

java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.plugin.ProgramPlugin
rubydragon.DragonPlugin
rubydragon.jshell.JShellDragonPlugin
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 JShellDragonPlugin extends DragonPlugin implements ghidra.app.plugin.core.interpreter.InterpreterConnection
JShellDragon provides an interactive Java terminal session within Ghidra via JShell.
  • Constructor Details

    • JShellDragonPlugin

      public JShellDragonPlugin(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 java interpreter currently in use.
      Specified by:
      getInterpreter in class DragonPlugin
      Returns:
      The java interpreter for this plugin. Will always be a JShellGhidraInterpreter 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