Package soot.toolkits.graph.pdg

Examples of soot.toolkits.graph.pdg.IRegion


    /*This is needed to convert the initially Region-typed inner node of the PDG's head
      to a PDGRegion-typed one after the whole graph is computed.
      The root PDGRegion is the one with no parent.
    */

    IRegion r = this.m_pdgRegions.get(0);
    while(r.getParent() != null)
      r = r.getParent();
   
    this.m_startNode.setNode(r);
   
  }
View Full Code Here


   
    Queue<IRegion> toProcess = new LinkedList<IRegion>();
    toProcess.add(r);
    while(!toProcess.isEmpty())
    {
      IRegion reg = toProcess.poll();
      list.add(reg);
      for(Iterator<IRegion> itr = reg.getChildRegions().iterator(); itr.hasNext(); )
        toProcess.add((Region)itr.next());
     
    }
   
    return list;
View Full Code Here

TOP

Related Classes of soot.toolkits.graph.pdg.IRegion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.