sandmark.util.controlflowgraph
Class ProgramCFG
java.lang.Object
|
+--sandmark.util.controlflowgraph.ProgramGraph
|
+--sandmark.util.controlflowgraph.ProgramCFG
- public class ProgramCFG
- extends ProgramGraph
Constructor Summary |
ProgramCFG(java.util.Collection methods)
|
Methods inherited from class sandmark.util.controlflowgraph.ProgramGraph |
addEdge, addNode, edgeCount, getPreds, getSuccs, hasEdge, hasNode, nodeCount, nodes, removeEdge, removeNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mMethodNameToCFG
java.util.Hashtable mMethodNameToCFG
ProgramCFG
public ProgramCFG(java.util.Collection methods)
addNode
public void addNode(BasicBlock block,
MethodCFG cfg)
addEdge
public void addEdge(BasicBlock fromBlock,
BasicBlock toBlock,
MethodCFG cfg)
removeEdge
public void removeEdge(BasicBlock fromBlock,
BasicBlock toBlock,
MethodCFG cfg)
methodName
public static java.lang.String methodName(MethodCFG cfg)
methodName
public static java.lang.String methodName(de.fub.bytecode.generic.MethodGen mg)
methodName
public static java.lang.String methodName(de.fub.bytecode.generic.FieldOrMethod fm,
de.fub.bytecode.generic.ConstantPoolGen cpg)
methodName
public static java.lang.String methodName(java.lang.String className,
java.lang.String methodName,
java.lang.String signature)