Package ghidra.app.services
Class AnalyzerAdapter
java.lang.Object
ghidra.app.services.AbstractAnalyzer
ghidra.app.services.AnalyzerAdapter
- All Implemented Interfaces:
- Analyzer,- ExtensionPoint
- 
Field SummaryFields inherited from class ghidra.app.services.AbstractAnalyzerEMPTY_ADDRESS_SET
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanadded(Program program, AddressSetView set, TaskMonitor monitor, MessageLog log) Called when the requested information type has been added, for example, when a function is added.booleangetDefaultEnablement(Program program) Returns true if this analyzer should be enabled by default.Methods inherited from class ghidra.app.services.AbstractAnalyzeranalysisEnded, analyzeLocation, canAnalyze, getAnalysisType, getDescription, getName, getPriority, isPrototype, optionsChanged, registerOptions, removed, runParallelAddressAnalysis, setDefaultEnablement, setPriority, setPrototype, setSupportsOneTimeAnalysis, setSupportsOneTimeAnalysis, supportsOneTimeAnalysisMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.services.AnalyzergetOptionsUpdater
- 
Constructor Details- 
AnalyzerAdapter
 
- 
- 
Method Details- 
addedpublic 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, for example, when a function is added.- Parameters:
- program- program to analyze
- set- AddressSet of locations that have been added
- monitor- monitor that indicates progress and indicates whether the user canceled the analysis
- log- a message log to record analysis information
- Returns:
- true if the analysis succeeded
- Throws:
- CancelledException- if the analysis is cancelled
 
- 
getDefaultEnablementDescription copied from interface:AnalyzerReturns true if this analyzer should be enabled by default. Generally useful analyzers should return true. Specialized analyzers should return false;- Specified by:
- getDefaultEnablementin interface- Analyzer
- Overrides:
- getDefaultEnablementin class- AbstractAnalyzer
- Parameters:
- program- the program
- Returns:
- true if enabled by default
 
 
-