public class ExplodedControlFlowGraph extends Object implements ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>
public static ExplodedControlFlowGraph make(IR ir)
public IExplodedBasicBlock entry()
ControlFlowGraphentry in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public IExplodedBasicBlock exit()
exit in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public IExplodedBasicBlock getBlockForInstruction(int index)
getBlockForInstruction in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>index - an instruction indexpublic com.ibm.wala.util.intset.BitVector getCatchBlocks()
getCatchBlocks in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public Collection<IExplodedBasicBlock> getExceptionalPredecessors(IExplodedBasicBlock bb)
ControlFlowGraphgetExceptionalPredecessors in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public List<IExplodedBasicBlock> getExceptionalSuccessors(IExplodedBasicBlock bb)
ControlFlowGraphgetExceptionalSuccessors in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public SSAInstruction[] getInstructions()
getInstructions in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public IMethod getMethod() throws com.ibm.wala.util.debug.UnimplementedError
getMethod in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>com.ibm.wala.util.debug.UnimplementedErrorpublic Collection<IExplodedBasicBlock> getNormalPredecessors(IExplodedBasicBlock bb)
ControlFlowGraphgetNormalPredecessors in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public Collection<IExplodedBasicBlock> getNormalSuccessors(IExplodedBasicBlock bb)
ControlFlowGraphgetNormalSuccessors in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>public int getProgramCounter(int index)
throws com.ibm.wala.util.debug.UnimplementedError
ControlFlowGraphgetProgramCounter in interface ControlFlowGraph<SSAInstruction,IExplodedBasicBlock>index - an instruction indexcom.ibm.wala.util.debug.UnimplementedErrorpublic void removeNodeAndEdges(IExplodedBasicBlock N) throws UnsupportedOperationException
removeNodeAndEdges in interface com.ibm.wala.util.graph.Graph<IExplodedBasicBlock>UnsupportedOperationExceptionpublic void addNode(IExplodedBasicBlock n) throws UnsupportedOperationException
addNode in interface com.ibm.wala.util.graph.NodeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic boolean containsNode(IExplodedBasicBlock N)
containsNode in interface com.ibm.wala.util.graph.NodeManager<IExplodedBasicBlock>public int getNumberOfNodes()
getNumberOfNodes in interface com.ibm.wala.util.graph.NodeManager<IExplodedBasicBlock>public Iterator<IExplodedBasicBlock> iterator()
iterator in interface com.ibm.wala.util.graph.NodeManager<IExplodedBasicBlock>iterator in interface Iterable<IExplodedBasicBlock>public void removeNode(IExplodedBasicBlock n) throws UnsupportedOperationException
removeNode in interface com.ibm.wala.util.graph.NodeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic void addEdge(IExplodedBasicBlock src, IExplodedBasicBlock dst) throws UnsupportedOperationException
addEdge in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic int getPredNodeCount(IExplodedBasicBlock bb) throws IllegalArgumentException
getPredNodeCount in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>IllegalArgumentExceptionpublic Iterator<IExplodedBasicBlock> getPredNodes(IExplodedBasicBlock bb) throws IllegalArgumentException
getPredNodes in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>IllegalArgumentExceptionpublic int getSuccNodeCount(IExplodedBasicBlock N) throws com.ibm.wala.util.debug.UnimplementedError
getSuccNodeCount in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>com.ibm.wala.util.debug.UnimplementedErrorpublic Iterator<IExplodedBasicBlock> getSuccNodes(IExplodedBasicBlock bb)
getSuccNodes in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>public boolean hasEdge(IExplodedBasicBlock src, IExplodedBasicBlock dst) throws com.ibm.wala.util.debug.UnimplementedError
hasEdge in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>com.ibm.wala.util.debug.UnimplementedErrorpublic void removeAllIncidentEdges(IExplodedBasicBlock node) throws UnsupportedOperationException
removeAllIncidentEdges in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic void removeEdge(IExplodedBasicBlock src, IExplodedBasicBlock dst) throws UnsupportedOperationException
removeEdge in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic void removeIncomingEdges(IExplodedBasicBlock node) throws UnsupportedOperationException
removeIncomingEdges in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic void removeOutgoingEdges(IExplodedBasicBlock node) throws UnsupportedOperationException
removeOutgoingEdges in interface com.ibm.wala.util.graph.EdgeManager<IExplodedBasicBlock>UnsupportedOperationExceptionpublic int getMaxNumber()
getMaxNumber in interface com.ibm.wala.util.graph.NumberedNodeManager<IExplodedBasicBlock>public IExplodedBasicBlock getNode(int number)
getNode in interface com.ibm.wala.util.graph.NumberedNodeManager<IExplodedBasicBlock>public int getNumber(IExplodedBasicBlock n) throws IllegalArgumentException
getNumber in interface com.ibm.wala.util.graph.NumberedNodeManager<IExplodedBasicBlock>IllegalArgumentExceptionpublic Iterator<IExplodedBasicBlock> iterateNodes(com.ibm.wala.util.intset.IntSet s) throws com.ibm.wala.util.debug.UnimplementedError
iterateNodes in interface com.ibm.wala.util.graph.NumberedNodeManager<IExplodedBasicBlock>com.ibm.wala.util.debug.UnimplementedErrorpublic com.ibm.wala.util.intset.IntSet getPredNodeNumbers(IExplodedBasicBlock node)
getPredNodeNumbers in interface com.ibm.wala.util.graph.NumberedEdgeManager<IExplodedBasicBlock>public com.ibm.wala.util.intset.IntSet getSuccNodeNumbers(IExplodedBasicBlock node) throws com.ibm.wala.util.debug.UnimplementedError
getSuccNodeNumbers in interface com.ibm.wala.util.graph.NumberedEdgeManager<IExplodedBasicBlock>com.ibm.wala.util.debug.UnimplementedErrorpublic IR getIR()
Copyright © 2015. All rights reserved.