public static class JvmValueBamCpaRun.Builder extends JvmBamCpaRun.Builder
cfa, heapModel
abortOperator, maxCallStackDepth, reduceHeap
Constructor and Description |
---|
Builder(JvmCfa cfa,
MethodSignature mainSignature,
ClassPool libraryClassPool) |
Modifier and Type | Method and Description |
---|---|
JvmValueBamCpaRun |
build()
Returns the
JvmBamCpaRun for given parameters. |
JvmValueBamCpaRun.Builder |
setAbortOperator(AbortOperator abortOperator)
Sets the abort operator for premature CPA algorithm termination.
|
JvmValueBamCpaRun.Builder |
setCfa(JvmCfa cfa)
Sets the control flow automaton.
|
JvmValueBamCpaRun.Builder |
setMainSignature(MethodSignature mainSignature) |
JvmValueBamCpaRun.Builder |
setMaxCallStackDepth(int maxCallStackDepth)
Sets the call stack limit for the interprocedural analysis.
|
JvmValueBamCpaRun.Builder |
setReduceHeap(boolean reduceHeap)
Sets whether the heap should be reduced before method calls.
|
JvmValueBamCpaRun.Builder |
setStaticFields(MapAbstractState<java.lang.String,ValueAbstractState> staticFields) |
JvmValueBamCpaRun.Builder |
setTransferRelationFactory(JvmValueBamCpaRun.TransferRelationFactory transferRelationFactory) |
JvmValueBamCpaRun.Builder |
setValueFactory(ValueFactory valueFactory) |
setHeapModel
public Builder(JvmCfa cfa, MethodSignature mainSignature, ClassPool libraryClassPool)
public JvmValueBamCpaRun build()
JvmBamCpaRun.Builder
JvmBamCpaRun
for given parameters.build
in class JvmBamCpaRun.Builder
public JvmValueBamCpaRun.Builder setCfa(JvmCfa cfa)
JvmBamCpaRun.Builder
setCfa
in class JvmBamCpaRun.Builder
public JvmValueBamCpaRun.Builder setMainSignature(MethodSignature mainSignature)
public JvmValueBamCpaRun.Builder setValueFactory(ValueFactory valueFactory)
public JvmValueBamCpaRun.Builder setTransferRelationFactory(JvmValueBamCpaRun.TransferRelationFactory transferRelationFactory)
public JvmValueBamCpaRun.Builder setStaticFields(MapAbstractState<java.lang.String,ValueAbstractState> staticFields)
public JvmValueBamCpaRun.Builder setAbortOperator(AbortOperator abortOperator)
BamCpaRun.Builder
setAbortOperator
in class JvmBamCpaRun.Builder
public JvmValueBamCpaRun.Builder setReduceHeap(boolean reduceHeap)
BamCpaRun.Builder
setReduceHeap
in class JvmBamCpaRun.Builder
public JvmValueBamCpaRun.Builder setMaxCallStackDepth(int maxCallStackDepth)
BamCpaRun.Builder
setMaxCallStackDepth
in class JvmBamCpaRun.Builder