Package ghidra.framework.analysis
Class GhidraScriptAnalyzerAdapter
- java.lang.Object
-
- ghidra.app.services.AbstractAnalyzer
-
- ghidra.framework.analysis.GhidraScriptAnalyzerAdapter
-
- All Implemented Interfaces:
Analyzer,ExtensionPoint
public class GhidraScriptAnalyzerAdapter extends AbstractAnalyzer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ghidra.util.classfinder.ExtensionPoint
ExtensionPoint.Exclude, ExtensionPoint.Util
-
-
Constructor Summary
Constructors Constructor Description GhidraScriptAnalyzerAdapter(ResourceFile file, AnalyzerType analyzerType, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadded(Program program, AddressSetView set, TaskMonitor monitor, MessageLog log)Called when the requested information type has been added.java.lang.StringgetScriptName()voidsetPrintWriter(java.io.PrintWriter writer)-
Methods inherited from class ghidra.app.services.AbstractAnalyzer
analysisEnded, canAnalyze, getAnalysisType, getDefaultEnablement, getDescription, getName, getPriority, isPrototype, optionsChanged, registerOptions, removed, setDefaultEnablement, setPriority, setPrototype, setSupportsOneTimeAnalysis, setSupportsOneTimeAnalysis, supportsOneTimeAnalysis
-
-
-
-
Constructor Detail
-
GhidraScriptAnalyzerAdapter
public GhidraScriptAnalyzerAdapter(ResourceFile file, AnalyzerType analyzerType, int priority)
-
-
Method Detail
-
setPrintWriter
public void setPrintWriter(java.io.PrintWriter writer)
-
added
public boolean added(Program program, AddressSetView set, TaskMonitor monitor, MessageLog log) throws CancelledException
Description copied from interface:AnalyzerCalled when the requested information type has been added. (ie: function added.)- Parameters:
program- program to analyzeset- AddressSet of locations that have been addedmonitor- monitor that indicates progress and indicates whether the user canceled the analysislog- a message log to record analysis information- Returns:
- true if the analysis succeeded
- Throws:
CancelledException
-
getScriptName
public java.lang.String getScriptName()
-
-