Package proguard.analysis.cpa.defaults
Class CpaRun<CpaT extends ConfigurableProgramAnalysis,AbstractStateT extends AbstractState>
- java.lang.Object
-
- proguard.analysis.cpa.defaults.CpaRun<CpaT,AbstractStateT>
-
- Direct Known Subclasses:
BamCpaRun
,SequentialCpaRun
public abstract class CpaRun<CpaT extends ConfigurableProgramAnalysis,AbstractStateT extends AbstractState> extends java.lang.Object
This abstract wrapper class runs the selectedConfigurableProgramAnalysis
and returns theReachedSet
.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbortOperator
abortOperator
protected CpaT
cpa
-
Constructor Summary
Constructors Constructor Description CpaRun()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ReachedSet
createReachedSet()
Returns an emptyReachedSet
.protected Waitlist
createWaitlist()
Returns an emptyWaitlist
.ReachedSet
execute()
Sets up theCpaAlgorithm
, runs it, and returns theReachedSet
with the result of the analysis.AbortOperator
getAbortOperator()
Returns the abort operator.CpaT
getCpa()
Returns the CPA.abstract java.util.Collection<AbstractStateT>
getInitialStates()
Returns a collection of initialAbstractState
s.
-
-
-
Field Detail
-
cpa
protected CpaT extends ConfigurableProgramAnalysis cpa
-
abortOperator
protected AbortOperator abortOperator
-
-
Method Detail
-
execute
public ReachedSet execute()
Sets up theCpaAlgorithm
, runs it, and returns theReachedSet
with the result of the analysis.
-
createReachedSet
protected ReachedSet createReachedSet()
Returns an emptyReachedSet
.
-
getInitialStates
public abstract java.util.Collection<AbstractStateT> getInitialStates()
Returns a collection of initialAbstractState
s.
-
getCpa
public CpaT getCpa()
Returns the CPA.
-
getAbortOperator
public AbortOperator getAbortOperator()
Returns the abort operator.
-
-