Class GhidraScriptRunner

  • All Implemented Interfaces:
    GhidraLaunchable

    public class GhidraScriptRunner
    extends java.lang.Object
    implements GhidraLaunchable
    A simple class for running scripts outside of Ghidra.
    • Constructor Detail

      • GhidraScriptRunner

        public GhidraScriptRunner()
    • Method Detail

      • launch

        public void launch​(GhidraApplicationLayout layout,
                           java.lang.String[] args)
                    throws java.lang.Exception
        Description copied from interface: GhidraLaunchable
        Launches the launchable.
        Specified by:
        launch in interface GhidraLaunchable
        Parameters:
        layout - The application layout to use for the launch.
        args - The arguments passed through by the GhidraLauncher.
        Throws:
        java.lang.Exception - if there was a problem with the launch.
      • initializeApplication

        protected void initializeApplication​(ApplicationLayout applicationLayout,
                                             java.lang.String logFile,
                                             boolean useLog4j)