public abstract static class JvmBamCpaRun.Builder extends BamCpaRun.Builder
JvmBamCpaRun
. It assumes either the best performing parameters or the
most basic one, if there is no absolute benefit.Modifier and Type | Field and Description |
---|---|
protected JvmCfa |
cfa |
protected HeapModel |
heapModel |
abortOperator, maxCallStackDepth, reduceHeap
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract JvmBamCpaRun<?,?,?> |
build()
Returns the
JvmBamCpaRun for given parameters. |
JvmBamCpaRun.Builder |
setAbortOperator(AbortOperator abortOperator)
Sets the abort operator for premature CPA algorithm termination.
|
JvmBamCpaRun.Builder |
setCfa(JvmCfa cfa)
Sets the control flow automaton.
|
JvmBamCpaRun.Builder |
setHeapModel(HeapModel heapModel)
Sets the heap model.
|
JvmBamCpaRun.Builder |
setMaxCallStackDepth(int maxCallStackDepth)
Sets the call stack limit for the interprocedural analysis.
|
JvmBamCpaRun.Builder |
setReduceHeap(boolean reduceHeap)
Sets whether the heap should be reduced before method calls.
|
public abstract JvmBamCpaRun<?,?,?> build()
JvmBamCpaRun
for given parameters.build
in class BamCpaRun.Builder
public JvmBamCpaRun.Builder setMaxCallStackDepth(int maxCallStackDepth)
BamCpaRun.Builder
setMaxCallStackDepth
in class BamCpaRun.Builder
public JvmBamCpaRun.Builder setAbortOperator(AbortOperator abortOperator)
BamCpaRun.Builder
setAbortOperator
in class BamCpaRun.Builder
public JvmBamCpaRun.Builder setReduceHeap(boolean reduceHeap)
BamCpaRun.Builder
setReduceHeap
in class BamCpaRun.Builder
public JvmBamCpaRun.Builder setCfa(JvmCfa cfa)
public JvmBamCpaRun.Builder setHeapModel(HeapModel heapModel)