Class Ghidra

java.lang.Object
ghidra.Ghidra

public class Ghidra extends Object
Ghidra entry point that forwards the command line arguments to GhidraLaunchable.

This class was introduced so Ghidra's application name can be set to "ghidra-Ghidra" on Linux, rather than "ghidra-GhidraLauncher".

See Also:
  • Constructor Details

    • Ghidra

      public Ghidra()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Launches the given GhidraLaunchable specified in the first command line argument
      Parameters:
      args - The first argument is the name of the GhidraLaunchable to launch. The remaining args get passed through to the class's GhidraLaunchable.launch(GhidraApplicationLayout, String[]) method.
      Throws:
      Exception - If there was a problem launching. See the exception's message for more details on what went wrong.
    • setLinuxApplicationName NEW

      public static void setLinuxApplicationName()
      Poke the Taskbar class in order to set the Linux application name to this class's fully qualified class name (with . replaced by -). If we don't do this here, the next time it gets done is in a new thread, which results in the application name being set to "java-lang-thread".

      This method should be publicly accessible so other tools can access it (i.e., PyGhidra)