Class JimplePointsTo
- java.lang.Object
-
- com.ensoftcorp.open.pointsto.analysis.PointsTo
-
- com.ensoftcorp.open.pointsto.analysis.JimplePointsTo
-
public class JimplePointsTo extends PointsTo
A fixed point points-to analysis for Jimple- Author:
- Ben Holland
-
-
Field Summary
-
Fields inherited from class com.ensoftcorp.open.pointsto.analysis.PointsTo
UPDATE_INTERVAL
-
-
Constructor Summary
Constructors Constructor Description JimplePointsTo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAliasAddress(com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.Integer address)
Removes an alias address from the alias setvoid
dispose()
Signals that the points to analysis results no longer need to be maintained by the analysiscom.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node>
getAddressedNodes()
Returns a set of all addressed nodesjava.util.HashSet<java.lang.Integer>
getAliasAddresses()
Returns a set of alias addressesjava.util.HashSet<java.lang.Integer>
getAliasAddresses(com.ensoftcorp.atlas.core.db.graph.Node node)
Returns a set of alias addresses for the given nodejava.util.HashSet<java.lang.Integer>
getArrayMemoryModelAliases(java.lang.Integer address)
Returns the mapping of arrays to the array's componentsjava.util.HashSet<java.lang.Integer>
getArrayMemoryModels()
Returns the array memory model addressescom.ensoftcorp.atlas.core.db.graph.Graph
getInferredDataFlowGraph()
Returns the inferred data flow graph as the results of the fixed point analysiscom.ensoftcorp.atlas.core.db.graph.Node
getInstantiation(java.lang.Integer address)
Returns the mapping of an address to its corresponding instantiationcom.ensoftcorp.atlas.core.db.graph.Node
getType(java.lang.Integer address)
Returns the mapping of an address to its corresponding static typevoid
removeAliasAddress(com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.Integer address)
Adds an alias address to the alias set-
Methods inherited from class com.ensoftcorp.open.pointsto.analysis.PointsTo
hasRun, isDisposed, run
-
-
-
-
Method Detail
-
dispose
public void dispose()
Description copied from class:PointsTo
Signals that the points to analysis results no longer need to be maintained by the analysis
-
addAliasAddress
public void addAliasAddress(com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.Integer address)
Description copied from class:PointsTo
Removes an alias address from the alias set- Specified by:
addAliasAddress
in classPointsTo
-
removeAliasAddress
public void removeAliasAddress(com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.Integer address)
Description copied from class:PointsTo
Adds an alias address to the alias set- Specified by:
removeAliasAddress
in classPointsTo
-
getAliasAddresses
public java.util.HashSet<java.lang.Integer> getAliasAddresses()
Description copied from class:PointsTo
Returns a set of alias addresses- Specified by:
getAliasAddresses
in classPointsTo
- Returns:
-
getAliasAddresses
public java.util.HashSet<java.lang.Integer> getAliasAddresses(com.ensoftcorp.atlas.core.db.graph.Node node)
Description copied from class:PointsTo
Returns a set of alias addresses for the given node- Specified by:
getAliasAddresses
in classPointsTo
- Returns:
-
getAddressedNodes
public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getAddressedNodes()
Description copied from class:PointsTo
Returns a set of all addressed nodes- Specified by:
getAddressedNodes
in classPointsTo
- Returns:
-
getArrayMemoryModelAliases
public java.util.HashSet<java.lang.Integer> getArrayMemoryModelAliases(java.lang.Integer address)
Description copied from class:PointsTo
Returns the mapping of arrays to the array's components- Specified by:
getArrayMemoryModelAliases
in classPointsTo
- Returns:
-
getArrayMemoryModels
public java.util.HashSet<java.lang.Integer> getArrayMemoryModels()
Description copied from class:PointsTo
Returns the array memory model addresses- Specified by:
getArrayMemoryModels
in classPointsTo
- Returns:
-
getInstantiation
public com.ensoftcorp.atlas.core.db.graph.Node getInstantiation(java.lang.Integer address)
Description copied from class:PointsTo
Returns the mapping of an address to its corresponding instantiation- Specified by:
getInstantiation
in classPointsTo
- Returns:
-
getType
public com.ensoftcorp.atlas.core.db.graph.Node getType(java.lang.Integer address)
Description copied from class:PointsTo
Returns the mapping of an address to its corresponding static type
-
getInferredDataFlowGraph
public com.ensoftcorp.atlas.core.db.graph.Graph getInferredDataFlowGraph()
Description copied from class:PointsTo
Returns the inferred data flow graph as the results of the fixed point analysis- Specified by:
getInferredDataFlowGraph
in classPointsTo
- Returns:
-
-