Class ZeroControlFlowAnalysis


  • public class ZeroControlFlowAnalysis
    extends CGAnalysis
    Performs a 0-CFA Andersen style points-to analysis to resolve runtime types and infer dynamic dispatches on the fly. Of CHA, RTA, and VTA this is the most precise analysis for call graph construction. Note: The CFA expands to Control Flow Analysis, but the name no longer really captures what the algorithm is doing under the hood. Reference: http://matt.might.net/articles/implementation-of-kcfa-and-0cfa/
    Author:
    Ben Holland
    • Method Detail

      • getCallEdgeTags

        public java.lang.String[] getCallEdgeTags()
        Description copied from class: CGAnalysis
        Returns the set of tags applied to edges during call graph construction
        Specified by:
        getCallEdgeTags in class CGAnalysis
        Returns:
      • getPerControlFlowEdgeTags

        public java.lang.String[] getPerControlFlowEdgeTags()
        Description copied from class: CGAnalysis
        Returns the set of tags applied to per control flow edges during call graph construction
        Specified by:
        getPerControlFlowEdgeTags in class CGAnalysis
        Returns:
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class CGAnalysis