Class GccExceptionAnalyzer
java.lang.Object
ghidra.app.services.AbstractAnalyzer
ghidra.app.plugin.exceptionhandlers.gcc.GccExceptionAnalyzer
- All Implemented Interfaces:
Analyzer,ExtensionPoint
An analyzer for locating and marking up the GCC exception handling information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected static final StringFields inherited from class ghidra.app.services.AbstractAnalyzer
EMPTY_ADDRESS_SET -
Constructor Summary
ConstructorsConstructorDescriptionCreates an analyzer for marking up the GCC exception handling information. -
Method Summary
Modifier and TypeMethodDescriptionbooleanadded(Program program, AddressSetView addedLocationAddresses, TaskMonitor monitor, MessageLog log) Called when the requested information type has been added, for example, when a function is added.booleancanAnalyze(Program program) Can this analyzer work on this program.voidoptionsChanged(Options options, Program program) Analyzers should initialize their options from the values in the given Options, providing appropriate default values.voidregisterOptions(Options options, Program program) Analyzers should register their options with associated default value, help content and descriptionMethods inherited from class ghidra.app.services.AbstractAnalyzer
analysisEnded, analyzeLocation, getAnalysisType, getDefaultEnablement, getDescription, getName, getPriority, isPrototype, removed, runParallelAddressAnalysis, setDefaultEnablement, setPriority, setPrototype, setSupportsOneTimeAnalysis, setSupportsOneTimeAnalysis, supportsOneTimeAnalysisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.services.Analyzer
getOptionsUpdater
-
Field Details
-
NAME
- See Also:
-
DESCRIPTION
- See Also:
-
OPTION_NAME_CREATE_TRY_CATCHS
- See Also:
-
-
Constructor Details
-
GccExceptionAnalyzer
public GccExceptionAnalyzer()Creates an analyzer for marking up the GCC exception handling information.
-
-
Method Details
-
canAnalyze
Description copied from interface:AnalyzerCan this analyzer work on this program.- Specified by:
canAnalyzein interfaceAnalyzer- Overrides:
canAnalyzein classAbstractAnalyzer- Parameters:
program- program to be analyzed- Returns:
- true if this analyzer can analyze this program
-
added
public boolean added(Program program, AddressSetView addedLocationAddresses, 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 analyzeaddedLocationAddresses- 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- if the analysis is cancelled
-
registerOptions
Description copied from interface:AnalyzerAnalyzers should register their options with associated default value, help content and description- Specified by:
registerOptionsin interfaceAnalyzer- Overrides:
registerOptionsin classAbstractAnalyzer- Parameters:
options- the program options/property list that contains the optionsprogram- program to be analyzed
-
optionsChanged
Description copied from interface:AnalyzerAnalyzers should initialize their options from the values in the given Options, providing appropriate default values.- Specified by:
optionsChangedin interfaceAnalyzer- Overrides:
optionsChangedin classAbstractAnalyzer- Parameters:
options- the program options/property list that contains the optionsprogram- program to be analyzed
-