Class FOWControlDependenceGraph


  • public class FOWControlDependenceGraph
    extends DependenceGraph
    Constructs the Control Dependence Graph (CGD) from a given Control Flow Graph (CFG) Computed using the Ferrante, Ottenstein, and Warren algorithm Reference: 1) http://www.cc.gatech.edu/~harrold/6340/cs6340_fall2009/Slides/BasicAnalysis4.pdf
    Author:
    Ben Holland
    • Field Detail

      • CONTROL_DEPENDENCE_EDGE

        public static final java.lang.String CONTROL_DEPENDENCE_EDGE
        Used to tag the edges between nodes that contain a control dependence
        See Also:
        Constant Field Values
    • Constructor Detail

      • FOWControlDependenceGraph

        public FOWControlDependenceGraph​(com.ensoftcorp.atlas.core.db.graph.Graph cfg)
      • FOWControlDependenceGraph

        public FOWControlDependenceGraph​(com.ensoftcorp.atlas.core.db.graph.Graph cfg,
                                         boolean purgeAugmentations)
    • Method Detail

      • getControlFlowGraph

        public com.ensoftcorp.atlas.core.query.Q getControlFlowGraph()
      • getForwardDominanceTree

        public com.ensoftcorp.atlas.core.query.Q getForwardDominanceTree()
      • getAugmentedControlFlowGraph

        public com.ensoftcorp.atlas.core.query.Q getAugmentedControlFlowGraph()