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 class
AbstractConstructorAnalysisCmd.ConstructorAnalyzerHelper
-
Field Summary
Fields Modifier and Type Field Description protected FunctionManager
fManager
protected Listing
listing
protected ReferenceManager
manager
protected TaskMonitor
monitor
protected Program
program
protected ClassTypeInfo
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractConstructorAnalysisCmd(String name)
AbstractConstructorAnalysisCmd(String name, ClassTypeInfo typeinfo)
-
Method Summary
Modifier and Type Method Description protected abstract boolean
analyze()
protected SymbolicPropogator
analyzeFunction(Function function)
boolean
applyTo(DomainObject obj, TaskMonitor taskMonitor)
protected Function
createConstructor(ClassTypeInfo typeinfo, Address address)
protected void
createSubConstructors(ClassTypeInfo type, Function constructor, boolean destructor)
protected boolean
isConstructor(ClassTypeInfo typeinfo, Address address)
protected boolean
isProcessed(Address address)
protected void
setDestructor(ClassTypeInfo typeinfo, Function function)
protected void
setFunction(ClassTypeInfo typeinfo, Function function, boolean destructor)
void
setTypeInfo(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:
applyTo
in 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
-