Class OCG

java.lang.Object
qilin.pta.toolkits.turner.OCG

public class OCG extends Object
  • Field Details

  • Constructor Details

    • OCG

      public OCG(PTA pta)
  • Method Details

    • buildGraph

      protected void buildGraph()
    • allNodes

      public Collection<OCG.OCGNode> allNodes()
    • getTotalNodeCount

      public int getTotalNodeCount()
    • getTotalEdgeCount

      public int getTotalEdgeCount()
    • stat

      public void stat()
      (1) case1: objects on OCG have successors but does not have predecessors. (1-1) factorys (1-2) normal uses. (2) case2: objects on OCG does not have successors. (2-1) no predecessors. (2-2) have predecessors. (3) othercase: objects on OCG have successors and predecessors.
    • isTop

      public boolean isTop(AllocNode heap)
    • isBottom

      public boolean isBottom(AllocNode heap)
    • isCSLikely

      public boolean isCSLikely(AllocNode allocNode)
    • run

      public void run()
    • addEdge

      protected void addEdge(OCG.OCGNode pre, OCG.OCGNode succ)