Class AnalyzeHeadless

java.lang.Object
ghidra.app.util.headless.AnalyzeHeadless
All Implemented Interfaces:
GhidraLaunchable

public class AnalyzeHeadless extends Object implements GhidraLaunchable
Launcher entry point for running headless Ghidra.
  • Constructor Details

    • AnalyzeHeadless

      public AnalyzeHeadless()
  • Method Details

    • launch

      public void launch(GhidraApplicationLayout layout, String[] args) throws Exception
      The entry point of 'analyzeHeadless.bat'. Parses the command line arguments to the script and takes the appropriate headless actions.
      Specified by:
      launch in interface GhidraLaunchable
      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

      public static void usage(String execCmd)
      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.