Examples of FlowGraph


Examples of dk.brics.xact.analysis.flowgraph.FlowGraph

   * This method is <i>not</i> thread-safe (because of Soot).
   */
  public TranslationResult buildFlowGraph() {
    startPhase("Building flow graph...");
    TranslationResult tr = new Jimple2FlowGraph(config, errors).run();
    FlowGraph g = tr.getGraph();
    Debug.println(2, true, "Flow graph nodes: " + g.getNodes().size()
        + ", edges: " + g.getNumberOfEdges()
        + ", entries: " + g.getEntries().size());
    dumpFlowGraph(g, "fg1.dot");
    endPhase();
    return tr;
  }
View Full Code Here

Examples of dk.brics.xact.analysis.flowgraph.FlowGraph

    for (Statement stm : graph.getNodes()) {
      Component comp = forest.getData(stm);
      if (!comp.interesting)
        continue;
      if (comp.graph == null) {
        comp.graph = new FlowGraph(graph.getSchemas(), graph.getNamespaces());
        comp.graph.setXMLGraph(graph.getXMLGraph());
        comp.graph.setTypemap(graph.getTypemap());
        graphs.add(comp.graph);
      }
      comp.graph.addNode(stm);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.