Package proguard.analysis.cpa.defaults
Class SequentialCpaRun<CpaT extends ConfigurableProgramAnalysis,AbstractStateT extends AbstractState,InputCpaRunT extends CpaRun>
- java.lang.Object
-
- proguard.analysis.cpa.defaults.CpaRun<CpaT,AbstractStateT>
-
- proguard.analysis.cpa.defaults.SequentialCpaRun<CpaT,AbstractStateT,InputCpaRunT>
-
- Direct Known Subclasses:
JvmMemoryLocationBamCpaRun
public abstract class SequentialCpaRun<CpaT extends ConfigurableProgramAnalysis,AbstractStateT extends AbstractState,InputCpaRunT extends CpaRun> extends CpaRun<CpaT,AbstractStateT>
ThisCpaRun
wraps anotherInputCpaRunT
and allows a followingCpaT
to be constructed using the output of the former run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SequentialCpaRun.PreviousRunDurationReceiver
Interface that can be implemented by the abort operator of the second CPA.
-
Field Summary
Fields Modifier and Type Field Description protected InputCpaRunT
inputCpaRun
protected ReachedSet
inputReachedSet
protected ReachedSet
outputReachedSet
-
Fields inherited from class proguard.analysis.cpa.defaults.CpaRun
abortOperator, cpa
-
-
Constructor Summary
Constructors Constructor Description SequentialCpaRun(InputCpaRunT inputCpaRun)
Create a CPA run which accepts the reached set of another CPA run.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReachedSet
execute()
Sets up theCpaAlgorithm
, runs it, and returns theReachedSet
with the result of the analysis.InputCpaRunT
getInputCpaRun()
ReachedSet
getOutputReachedSet()
-
Methods inherited from class proguard.analysis.cpa.defaults.CpaRun
createReachedSet, createWaitlist, getAbortOperator, getCpa, getInitialStates
-
-
-
-
Field Detail
-
inputCpaRun
protected final InputCpaRunT extends CpaRun inputCpaRun
-
inputReachedSet
protected ReachedSet inputReachedSet
-
outputReachedSet
protected ReachedSet outputReachedSet
-
-
Constructor Detail
-
SequentialCpaRun
public SequentialCpaRun(InputCpaRunT inputCpaRun)
Create a CPA run which accepts the reached set of another CPA run.- Parameters:
inputCpaRun
- the inner CPA run
-
-
Method Detail
-
execute
public ReachedSet execute()
Description copied from class:CpaRun
Sets up theCpaAlgorithm
, runs it, and returns theReachedSet
with the result of the analysis.- Overrides:
execute
in classCpaRun<CpaT extends ConfigurableProgramAnalysis,AbstractStateT extends AbstractState>
-
getOutputReachedSet
public ReachedSet getOutputReachedSet()
-
getInputCpaRun
public InputCpaRunT getInputCpaRun()
-
-