Class ICFG.DefaultCallResolutionStrategy
- java.lang.Object
-
- com.ensoftcorp.open.commons.algorithms.ICFG.CallResolutionStrategy
-
- com.ensoftcorp.open.commons.algorithms.ICFG.DefaultCallResolutionStrategy
-
- Enclosing class:
- ICFG
public static class ICFG.DefaultCallResolutionStrategy extends ICFG.CallResolutionStrategy
This class uses the default call resolution strategy provided by each toolbox provider For C/C++ and Java this is a class hierarchy analysis- Author:
- Ben Holland
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CALL_RESOLUTION_STRATEGY_TAG
-
Constructor Summary
Constructors Constructor Description DefaultCallResolutionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node>
getCallGraphRoots()
Returns the call graph rootscom.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node>
getCallsiteTargets(com.ensoftcorp.atlas.core.db.graph.Node callsite)
Returns the potential callsite target functionscom.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node>
getCallSuccessors(com.ensoftcorp.atlas.core.db.graph.Node function)
Returns the potential call successorsjava.lang.String
getStrategyTagName()
Returns the call resolution strategy name This name will be used as a tag name for differentiating ICFG edges created by different call resolution strategies
-
-
-
Field Detail
-
CALL_RESOLUTION_STRATEGY_TAG
public static final java.lang.String CALL_RESOLUTION_STRATEGY_TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStrategyTagName
public java.lang.String getStrategyTagName()
Description copied from class:ICFG.CallResolutionStrategy
Returns the call resolution strategy name This name will be used as a tag name for differentiating ICFG edges created by different call resolution strategies- Specified by:
getStrategyTagName
in classICFG.CallResolutionStrategy
- Returns:
-
getCallsiteTargets
public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallsiteTargets(com.ensoftcorp.atlas.core.db.graph.Node callsite)
Description copied from class:ICFG.CallResolutionStrategy
Returns the potential callsite target functions- Specified by:
getCallsiteTargets
in classICFG.CallResolutionStrategy
- Returns:
-
getCallSuccessors
public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallSuccessors(com.ensoftcorp.atlas.core.db.graph.Node function)
Description copied from class:ICFG.CallResolutionStrategy
Returns the potential call successors- Specified by:
getCallSuccessors
in classICFG.CallResolutionStrategy
- Returns:
-
getCallGraphRoots
public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getCallGraphRoots()
Description copied from class:ICFG.CallResolutionStrategy
Returns the call graph roots- Specified by:
getCallGraphRoots
in classICFG.CallResolutionStrategy
- Returns:
-
-