Package ghidra.app.util.headless
Class AnalyzeHeadless
java.lang.Object
ghidra.app.util.headless.AnalyzeHeadless
- All Implemented Interfaces:
GhidraLaunchable
Launcher entry point for running headless Ghidra.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
launch
(GhidraApplicationLayout layout, String[] args) The entry point of 'analyzeHeadless.bat'.static void
Prints out the usage details and exits the Java application with an exit code that indicates error.
-
Constructor Details
-
AnalyzeHeadless
public AnalyzeHeadless()
-
-
Method Details
-
launch
The entry point of 'analyzeHeadless.bat'. Parses the command line arguments to the script and takes the appropriate headless actions.- Specified by:
launch
in interfaceGhidraLaunchable
- Parameters:
layout
- The application layout to use for the launch.args
- Detailed list of arguments is in 'analyzeHeadlessREADME.html'- Throws:
Exception
- if there was a problem with the launch.
-
usage
Prints out the usage details and exits the Java application with an exit code that indicates error.- Parameters:
execCmd
- the command used to run the headless analyzer from the calling method.
-