|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vasco.DataFlowSolution<N,A>
N
- the type of a node in the CFGA
- the type of a data flow valuepublic class DataFlowSolution<N,A>
A mapping of program points to results of data flow analysis.
This simple mapping does not parametrise solutions with a context object, and is thus context-insensitive. The results of a context-sensitive inter-procedural analysis can be reduced to this form by merging results for the same program point across all contexts, giving what is known as the Meet-Over-Valid-Paths solution.
Constructor Summary | |
---|---|
DataFlowSolution(Map<N,A> inValues,
Map<N,A> outValues)
Constructs a data flow solution with the given IN and OUT values. |
Method Summary | |
---|---|
A |
getValueAfter(N node)
Returns the data flow value at the exit of a node. |
A |
getValueBefore(N node)
Returns the data flow value at the entry of a node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataFlowSolution(Map<N,A> inValues, Map<N,A> outValues)
inValues
- a map of nodes to data flow values at their entryoutValues
- a map of nodes to data flow values at their exitMethod Detail |
---|
public A getValueBefore(N node)
node
- a program point
public A getValueAfter(N node)
node
- a program point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |