Class CallSiteAnalysis


  • public class CallSiteAnalysis
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void clearLanguageSpecificCallSiteAnalyzerCache()
      Clears the cached language specific call site analysis implementation
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSites​(com.ensoftcorp.atlas.core.db.graph.Node function)
      Given a function return the possible call sites
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSites​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> functions)
      Given functions, return possible call sites
      static com.ensoftcorp.atlas.core.query.Q getCallSites​(com.ensoftcorp.atlas.core.query.Q functions)
      Given functions, return possible call sites
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getTargets​(com.ensoftcorp.atlas.core.db.graph.Node callSite)
      Given a call site, return the functions which may have been invoked.
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getTargets​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> callSites)
      Returns the set of target functions that the given call sites could resolve to
      static com.ensoftcorp.atlas.core.query.Q getTargets​(com.ensoftcorp.atlas.core.query.Q callSites)
      Returns the set of target functions that the given call sites could resolve to
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallSiteAnalysis

        public CallSiteAnalysis()
    • Method Detail

      • getTargets

        public static com.ensoftcorp.atlas.core.query.Q getTargets​(com.ensoftcorp.atlas.core.query.Q callSites)
        Returns the set of target functions that the given call sites could resolve to
        Parameters:
        callsites -
        Returns:
      • getTargets

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getTargets​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> callSites)
        Returns the set of target functions that the given call sites could resolve to
        Parameters:
        callsites -
        Returns:
      • getTargets

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getTargets​(com.ensoftcorp.atlas.core.db.graph.Node callSite)
        Given a call site, return the functions which may have been invoked.
        Parameters:
        callsite -
        Returns:
      • getCallSites

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSites​(com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> functions)
        Given functions, return possible call sites
        Parameters:
        methods -
        Returns:
      • getCallSites

        public static com.ensoftcorp.atlas.core.query.Q getCallSites​(com.ensoftcorp.atlas.core.query.Q functions)
        Given functions, return possible call sites
        Parameters:
        methods -
        Returns:
      • getCallSites

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSites​(com.ensoftcorp.atlas.core.db.graph.Node function)
        Given a function return the possible call sites
        Parameters:
        function -
        Returns:
      • clearLanguageSpecificCallSiteAnalyzerCache

        public static void clearLanguageSpecificCallSiteAnalyzerCache()
        Clears the cached language specific call site analysis implementation