Class PegCallGraph
- java.lang.Object
-
- soot.jimple.toolkits.thread.mhp.pegcallgraph.PegCallGraph
-
- All Implemented Interfaces:
Iterable,DirectedGraph
public class PegCallGraph extends Object implements DirectedGraph
-
-
Constructor Summary
Constructors Constructor Description PegCallGraph(CallGraph cg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetgetClinitMethods()ListgetHeads()Returns a list of entry points for this graph.ListgetPredsOf(Object s)Returns a list of predecessors for the given node in the graph.ListgetSuccsOf(Object s)Returns a list of successors for the given node in the graph.ListgetTails()Returns a list of exit points for this graph.ListgetTrimSuccsOf(Object s)Iteratoriterator()Returns an iterator for the nodes in this graph.intsize()Returns the node count for this graph.protected voidtestChain()protected voidtestMethodToPred()protected voidtestMethodToSucc()voidtrim()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
PegCallGraph
public PegCallGraph(CallGraph cg)
-
-
Method Detail
-
testChain
protected void testChain()
-
getClinitMethods
public Set getClinitMethods()
-
trim
public void trim()
-
getHeads
public List getHeads()
Description copied from interface:DirectedGraphReturns a list of entry points for this graph.- Specified by:
getHeadsin interfaceDirectedGraph
-
getTails
public List getTails()
Description copied from interface:DirectedGraphReturns a list of exit points for this graph.- Specified by:
getTailsin interfaceDirectedGraph
-
getSuccsOf
public List getSuccsOf(Object s)
Description copied from interface:DirectedGraphReturns a list of successors for the given node in the graph.- Specified by:
getSuccsOfin interfaceDirectedGraph
-
getPredsOf
public List getPredsOf(Object s)
Description copied from interface:DirectedGraphReturns a list of predecessors for the given node in the graph.- Specified by:
getPredsOfin interfaceDirectedGraph
-
iterator
public Iterator iterator()
Description copied from interface:DirectedGraphReturns an iterator for the nodes in this graph. No specific ordering of the nodes is guaranteed.- Specified by:
iteratorin interfaceDirectedGraph- Specified by:
iteratorin interfaceIterable
-
size
public int size()
Description copied from interface:DirectedGraphReturns the node count for this graph.- Specified by:
sizein interfaceDirectedGraph
-
testMethodToSucc
protected void testMethodToSucc()
-
testMethodToPred
protected void testMethodToPred()
-
-