public class AnalysisLatticeElement extends java.lang.Object implements IAnalysisLatticeElement<State,Context,CallEdge>
IAnalysisLatticeElement.MergeResult
Constructor and Description |
---|
AnalysisLatticeElement(FlowGraph fg)
Constructs a new global analysis lattice element.
|
Modifier and Type | Method and Description |
---|---|
CallGraph<State,Context,CallEdge> |
getCallGraph()
Returns the call graph.
|
int |
getNumberOfStates()
Returns the total number of (non-bottom) abstract states.
|
State |
getState(BasicBlock block,
Context context)
Returns the abstract state for entry of the given basic block and context,
where null represents none.
|
State |
getState(BlockAndContext<Context> bc)
Returns the abstract state for entry of the given basic block and context,
where null represents none.
|
java.util.Map<Context,State> |
getStates(BasicBlock block)
Returns the contexts and abstract states for the entry of the given basic block.
|
IAnalysisLatticeElement.MergeResult |
propagate(State s,
BlockAndContext<Context> bc,
boolean localize)
Propagates s into the entry state at the given location.
|
public AnalysisLatticeElement(FlowGraph fg)
public CallGraph<State,Context,CallEdge> getCallGraph()
IAnalysisLatticeElement
getCallGraph
in interface IAnalysisLatticeElement<State,Context,CallEdge>
public int getNumberOfStates()
IAnalysisLatticeElement
getNumberOfStates
in interface IAnalysisLatticeElement<State,Context,CallEdge>
public State getState(BasicBlock block, Context context)
IAnalysisLatticeElement
getState
in interface IAnalysisLatticeElement<State,Context,CallEdge>
public State getState(BlockAndContext<Context> bc)
IAnalysisLatticeElement
getState
in interface IAnalysisLatticeElement<State,Context,CallEdge>
public java.util.Map<Context,State> getStates(BasicBlock block)
IAnalysisLatticeElement
getStates
in interface IAnalysisLatticeElement<State,Context,CallEdge>
public IAnalysisLatticeElement.MergeResult propagate(State s, BlockAndContext<Context> bc, boolean localize)
IAnalysisLatticeElement
propagate
in interface IAnalysisLatticeElement<State,Context,CallEdge>
localize
- if set, localize the state while joiningCopyright © 2009-2019 Aarhus University