Class JvmValueBamCpaRun.Builder
- java.lang.Object
-
- proguard.analysis.cpa.defaults.BamCpaRun.Builder
-
- proguard.analysis.cpa.jvm.util.JvmBamCpaRun.Builder
-
- proguard.analysis.cpa.jvm.domain.value.JvmValueBamCpaRun.Builder
-
- Enclosing class:
- JvmValueBamCpaRun
public static class JvmValueBamCpaRun.Builder extends JvmBamCpaRun.Builder
-
-
Field Summary
-
Fields inherited from class proguard.analysis.cpa.jvm.util.JvmBamCpaRun.Builder
cfa, heapModel
-
Fields inherited from class proguard.analysis.cpa.defaults.BamCpaRun.Builder
abortOperator, maxCallStackDepth, reduceHeap
-
-
Constructor Summary
Constructors Constructor Description Builder(JvmCfa cfa, MethodSignature mainSignature, ClassPool libraryClassPool)
-
Method Summary
-
Methods inherited from class proguard.analysis.cpa.jvm.util.JvmBamCpaRun.Builder
setHeapModel
-
-
-
-
Constructor Detail
-
Builder
public Builder(JvmCfa cfa, MethodSignature mainSignature, ClassPool libraryClassPool)
-
-
Method Detail
-
build
public JvmValueBamCpaRun build()
Description copied from class:JvmBamCpaRun.Builder
Returns theJvmBamCpaRun
for given parameters.- Specified by:
build
in classJvmBamCpaRun.Builder
-
setCfa
public JvmValueBamCpaRun.Builder setCfa(JvmCfa cfa)
Description copied from class:JvmBamCpaRun.Builder
Sets the control flow automaton.- Overrides:
setCfa
in classJvmBamCpaRun.Builder
-
setMainSignature
public JvmValueBamCpaRun.Builder setMainSignature(MethodSignature mainSignature)
-
setValueFactory
public JvmValueBamCpaRun.Builder setValueFactory(ValueFactory valueFactory)
-
setTransferRelationFactory
public JvmValueBamCpaRun.Builder setTransferRelationFactory(JvmValueBamCpaRun.TransferRelationFactory transferRelationFactory)
-
setStaticFields
public JvmValueBamCpaRun.Builder setStaticFields(MapAbstractState<java.lang.String,ValueAbstractState> staticFields)
-
setAbortOperator
public JvmValueBamCpaRun.Builder setAbortOperator(AbortOperator abortOperator)
Description copied from class:BamCpaRun.Builder
Sets the abort operator for premature CPA algorithm termination.- Overrides:
setAbortOperator
in classJvmBamCpaRun.Builder
-
setReduceHeap
public JvmValueBamCpaRun.Builder setReduceHeap(boolean reduceHeap)
Description copied from class:BamCpaRun.Builder
Sets whether the heap should be reduced before method calls.- Overrides:
setReduceHeap
in classJvmBamCpaRun.Builder
-
setMaxCallStackDepth
public JvmValueBamCpaRun.Builder setMaxCallStackDepth(int maxCallStackDepth)
Description copied from class:BamCpaRun.Builder
Sets the call stack limit for the interprocedural analysis.- Overrides:
setMaxCallStackDepth
in classJvmBamCpaRun.Builder
-
-