Package ghidra.app.util.headless
Class GhidraScriptRunner
- java.lang.Object
-
- ghidra.app.util.headless.GhidraScriptRunner
-
- All Implemented Interfaces:
GhidraLaunchable
public class GhidraScriptRunner extends java.lang.Object implements GhidraLaunchable
A simple class for running scripts outside of Ghidra.
-
-
Constructor Summary
Constructors Constructor Description GhidraScriptRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initializeApplication(ApplicationLayout applicationLayout, java.lang.String logFile, boolean useLog4j)
void
launch(GhidraApplicationLayout layout, java.lang.String[] args)
Launches the launchable.
-
-
-
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 interfaceGhidraLaunchable
- Parameters:
layout
- The application layout to use for the launch.args
- The arguments passed through by theGhidraLauncher
.- Throws:
java.lang.Exception
- if there was a problem with the launch.
-
initializeApplication
protected void initializeApplication(ApplicationLayout applicationLayout, java.lang.String logFile, boolean useLog4j)
-
-