Package cppclassanalyzer.analysis.cmd
Class AbstractConstructorAnalysisCmd
java.lang.Object
ghidra.framework.cmd.BackgroundCommand
cppclassanalyzer.analysis.cmd.AbstractConstructorAnalysisCmd
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AbstractDecompilerBasedConstructorAnalysisCmd,GccConstructorAnalysisCmd,VsConstructorAnalysisCmd
public abstract class AbstractConstructorAnalysisCmd extends BackgroundCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractConstructorAnalysisCmd.ConstructorAnalyzerHelper -
Field Summary
Fields Modifier and Type Field Description protected FunctionManagerfManagerprotected Listinglistingprotected ReferenceManagermanagerprotected TaskMonitormonitorprotected Programprogramprotected ClassTypeInfotype -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractConstructorAnalysisCmd(String name)AbstractConstructorAnalysisCmd(String name, ClassTypeInfo typeinfo) -
Method Summary
Modifier and Type Method Description protected abstract booleananalyze()protected SymbolicPropogatoranalyzeFunction(Function function)booleanapplyTo(DomainObject obj, TaskMonitor taskMonitor)protected FunctioncreateConstructor(ClassTypeInfo typeinfo, Address address)protected voidcreateSubConstructors(ClassTypeInfo type, Function constructor, boolean destructor)protected booleanisConstructor(ClassTypeInfo typeinfo, Address address)protected booleanisProcessed(Address address)protected voidsetDestructor(ClassTypeInfo typeinfo, Function function)protected voidsetFunction(ClassTypeInfo typeinfo, Function function, boolean destructor)voidsetTypeInfo(ClassTypeInfo typeinfo)Methods inherited from class ghidra.framework.cmd.BackgroundCommand
applyTo, canCancel, dispose, getName, getStatusMsg, hasProgress, isModal, setStatusMsg, taskCompleted, toString
-
Field Details
-
type
-
program
-
monitor
-
fManager
-
manager
-
listing
-
-
Constructor Details
-
AbstractConstructorAnalysisCmd
-
AbstractConstructorAnalysisCmd
-
-
Method Details
-
applyTo
- Specified by:
applyToin classBackgroundCommand
-
analyze
- Throws:
Exception
-
setTypeInfo
-
isProcessed
-
setDestructor
- Throws:
Exception
-
createConstructor
- Throws:
Exception
-
isConstructor
-
setFunction
protected void setFunction(ClassTypeInfo typeinfo, Function function, boolean destructor) throws Exception- Throws:
Exception
-
createSubConstructors
protected void createSubConstructors(ClassTypeInfo type, Function constructor, boolean destructor) throws Exception- Throws:
Exception
-
analyzeFunction
- Throws:
CancelledException
-