Package ghidra.app.util.headless
Class GhidraScriptRunner
java.lang.Object
ghidra.app.util.headless.GhidraScriptRunner
- All Implemented Interfaces:
GhidraLaunchable
A simple class for running scripts outside of Ghidra.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
initializeApplication
(ApplicationLayout applicationLayout, String logFile, boolean useLog4j) void
launch
(GhidraApplicationLayout layout, String[] args) Launches the launchable.
-
Constructor Details
-
GhidraScriptRunner
public GhidraScriptRunner()
-
-
Method Details
-
launch
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:
Exception
- if there was a problem with the launch.
-
initializeApplication
protected void initializeApplication(ApplicationLayout applicationLayout, String logFile, boolean useLog4j)
-