Class BSimLaunchable
java.lang.Object
ghidra.features.bsim.query.ingest.BSimLaunchable
- All Implemented Interfaces:
GhidraLaunchable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinitializeApplication(ApplicationLayout layout, int type, String connectingUserName, String certPath) From a cold start, initialize the Ghidra application to different stages, based on future requirementsvoidlaunch(GhidraApplicationLayout ghidraLayout, String[] params) Launches the launchable.voidRuns the command specified by the given set of params.voidrun(String[] params, TaskMonitor monitor) Runs the command specified by the given set of params.
-
Constructor Details
-
BSimLaunchable
public BSimLaunchable()Constructor for launching from the console
-
-
Method Details
-
run
Runs the command specified by the given set of params.- Parameters:
params- the parameters specifying the commandmonitor- the task monitor- Throws:
IllegalArgumentException- if invalid params have been specifiedException- if there's an error during the operationCancelledException- if processing is cancelled
-
run
Runs the command specified by the given set of params.- Parameters:
params- the parameters specifying the command- Throws:
Exception- when initializing the application or executing the command
-
launch
Description copied from interface:GhidraLaunchableLaunches the launchable.- Specified by:
launchin interfaceGhidraLaunchable- Parameters:
ghidraLayout- The application layout to use for the launch.params- The arguments passed through by theGhidraLauncher.
-
initializeApplication
public static void initializeApplication(ApplicationLayout layout, int type, String connectingUserName, String certPath) throws IOException From a cold start, initialize the Ghidra application to different stages, based on future requirements- Parameters:
layout- application layouttype- is an integer indicating how much to initialize 0 - limited initialization, enough simple execution and logging 1 - full initialization of ghidra for module path info and initialization 2 - same as #1 with class search for extensionsconnectingUserName- default user name for server connectionscertPath- PKI certificate path- Throws:
IOException- if there is a problem initializing the headless authenticator
-