Package com.ibm.wala.dataflow.IFDS
Class BoundedTabulationSolver<T,P,F>
- java.lang.Object
-
- com.ibm.wala.dataflow.IFDS.TabulationSolver<T,P,F>
-
- com.ibm.wala.dataflow.IFDS.BoundedTabulationSolver<T,P,F>
-
- Type Parameters:
T- type of node in the supergraphP- type of a procedure (like a box in an RSM)F- type of factoids propagated when solving this problem
public class BoundedTabulationSolver<T,P,F> extends TabulationSolver<T,P,F>
ATabulationSolverthat gives up after a finite bound.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.wala.dataflow.IFDS.TabulationSolver
TabulationSolver.Result, TabulationSolver.Worklist
-
-
Field Summary
-
Fields inherited from class com.ibm.wala.dataflow.IFDS.TabulationSolver
DEBUG_LEVEL, flowFunctionMap, PERIODIC_WIPE_SOFT_CACHES, progressMonitor, summaryEdges, supergraph, verbose
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBoundedTabulationSolver(TabulationProblem<T,P,F> p, int bound, MonitorUtil.IProgressMonitor monitor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T,P,F>
BoundedTabulationSolver<T,P,F>createBoundedTabulationSolver(TabulationProblem<T,P,F> p, int bound, MonitorUtil.IProgressMonitor monitor)intgetNumSteps()protected booleanpropagate(T s_p, int i, T n, int j)Propagate the fact-> has arisen as a path edge. voidresetBound()-
Methods inherited from class com.ibm.wala.dataflow.IFDS.TabulationSolver
addSeed, addToWorkList, computeBinaryFlow, computeFlow, computeInverseFlow, findOrCreateCallFlowEdges, findOrCreateLocalPathEdges, findOrCreateLocalSummaryEdges, getCurPathEdge, getCurSummaryEdge, getInversePathEdges, getLocalPathEdges, getProblem, getProgressMonitor, getResult, getSeeds, getSummarySources, getSupergraph, initialize, make, makeWorklist, performVerboseAction, popFromWorkList, processCall, processExit, processParticularCallee, recordCall, solve, tendToSoftCaches
-
-
-
-
Constructor Detail
-
BoundedTabulationSolver
protected BoundedTabulationSolver(TabulationProblem<T,P,F> p, int bound, MonitorUtil.IProgressMonitor monitor)
-
-
Method Detail
-
createBoundedTabulationSolver
public static <T,P,F> BoundedTabulationSolver<T,P,F> createBoundedTabulationSolver(TabulationProblem<T,P,F> p, int bound, MonitorUtil.IProgressMonitor monitor)
-
propagate
protected boolean propagate(T s_p, int i, T n, int j)
Description copied from class:TabulationSolverPropagate the fact-> has arisen as a path edge. Returns trueiff the path edge was not previously observed.- Overrides:
propagatein classTabulationSolver<T,P,F>- Parameters:
s_p- entry blocki- dataflow fact on entryn- reached blockj- dataflow fact reached
-
getNumSteps
public int getNumSteps()
-
resetBound
public void resetBound()
-
-