GhidraScript

Package: ghidra.app.script
Type: class

12.0_PUBLIC

addedmethod: decorate
java.lang.String decorate(java.lang.String message)
addedfield: decorateOutput
boolean decorateOutput
addedfield: errorWriter
java.io.PrintWriter errorWriter
addedmethod: execute
void execute(ghidra.app.script.GhidraState runState, ghidra.app.script.ScriptControls runControls) throws Exception
addedmethod: getControls
ghidra.app.script.ScriptControls getControls()
addedmethod: print
void print(java.lang.String message, java.awt.Color color)
addedmethod: println
void println(java.lang.String message, java.awt.Color color)
addedmethod: set
void set(ghidra.app.script.GhidraState state)
addedmethod: set
void set(ghidra.app.script.GhidraState state, ghidra.app.script.ScriptControls controls)

11.3_PUBLIC

removedmethod: parseFile
java.io.File parseFile(java.lang.String s)

11.1_PUBLIC

removedmethod: runCommand
boolean runCommand(ghidra.framework.cmd.Command cmd)
removedmethod: runCommand
boolean runCommand(ghidra.framework.cmd.BackgroundCommand cmd)

11.0_PUBLIC

addedmethod: askProgram
ghidra.program.model.listing.Program askProgram(java.lang.String title, boolean upgradeIfNeeded) throws VersionException, IOException, CancelledException
addedmethod: askValues
ghidra.features.base.values.GhidraValuesMap askValues(java.lang.String title, java.lang.String optionalMessage, ghidra.features.base.values.GhidraValuesMap values) throws CancelledException

10.3.2_PUBLIC

addedmethod: askPassword
ghidra.framework.generic.auth.Password askPassword(java.lang.String title, java.lang.String prompt) throws CancelledException

10.3_PUBLIC

addedmethod: askAddress
ghidra.program.model.address.Address askAddress(java.lang.String title, java.lang.String message, java.lang.String defaultValue) throws CancelledException

10.2_PUBLIC

addedmethod: getReusePreviousChoices
boolean getReusePreviousChoices()
addedmethod: setReusePreviousChoices
void setReusePreviousChoices(boolean reuse)

9.2_PUBLIC

addedmethod: getRepeatableCommentAsRendered
java.lang.String getRepeatableCommentAsRendered(ghidra.program.model.address.Address address)

9.1_PUBLIC

removedmethod: analyze
void analyze(ghidra.program.model.listing.Program program)
removedmethod: askChoice
T askChoice(java.lang.String title, java.lang.String message, T[] choices, T defaultValue) throws CancelledException
removedmethod: askChoices
T[] askChoices(java.lang.String title, java.lang.String message, T[] choices) throws CancelledException
removedmethod: askChoices
java.lang.Object[] askChoices(java.lang.String title, java.lang.String message, T[] choices, java.lang.String[] choiceLabels) throws CancelledException
removedmethod: getAnalysisOptionChoices
java.lang.String[] getAnalysisOptionChoices(ghidra.program.model.listing.Program program, java.lang.String analysisOption)
removedmethod: getConsoleText
java.lang.String getConsoleText(int offset, int length)
removedmethod: getConsoleTextLength
int getConsoleTextLength()
removedmethod: setName
void setName(java.lang.String name)

9.0.2_PUBLIC

addedfield: currentAddress
ghidra.program.model.address.Address currentAddress
addedfield: currentHighlight
ghidra.program.util.ProgramSelection currentHighlight
addedfield: currentLocation
ghidra.program.util.ProgramLocation currentLocation
addedfield: currentSelection
ghidra.program.util.ProgramSelection currentSelection
addedmethod: getProjectRootFolder
ghidra.framework.model.DomainFolder getProjectRootFolder()
addedmethod: loadPropertiesFile
void loadPropertiesFile() throws IOException
addedmethod: loadVariablesFromState
void loadVariablesFromState()
addedfield: potentialPropertiesFileLocs
java.util.List<generic.jar.ResourceFile> potentialPropertiesFileLocs
addedmethod: promptToKeepChangesOnException
boolean promptToKeepChangesOnException()
addedfield: propertiesFileParams
ghidra.app.script.GhidraScriptProperties propertiesFileParams
addedmethod: run
void run() throws Exception
addedfield: sourceFile
generic.jar.ResourceFile sourceFile
addedfield: state
ghidra.app.script.GhidraState state
addedmethod: updateStateFromVariables
void updateStateFromVariables()
addedfield: writer
java.io.PrintWriter writer

9.0.1_PUBLIC

introducedInitial version