public interface FlowInsensePointsToAnalyzer
A flow-insensitive PointsToAnalyzer takes a program (
AST), builds
points-to graph for the program and provides service for querying the "may
points-to" set of a lvalue-
Method Summary
Modifier and TypeMethodDescriptioninsensitiveFlow(Function func) mayPointsTo(Function func, AssignExprIF ptr) Returns the points-to set of the givenAssignExprIF, which is an abstraction of an object.mayPointsTo(Function func, Entity[] designations) Returns the points-to set of the given program object represented by a list of designations
-
Method Details
-
mayPointsTo
Returns the points-to set of the given program object represented by a list of designations- Parameters:
func- the function where the entity appearsdesignations- a list entities:{var, field0, field1, ...}- Returns:
- the points-to set of the given variable entity
-
mayPointsTo
Returns the points-to set of the givenAssignExprIF, which is an abstraction of an object.- Parameters:
func- the function where the pointer expression appearsptr- an expression abstraction- Returns:
- the points-to set of the given
AssignExprIF
-
analyzedProgram
AST analyzedProgram()- Returns:
- the analyzed program associated with this analyzer
-
insensitiveFlowFactory
InsensitiveFlowFactory insensitiveFlowFactory()- Returns:
- a reference to the
InsensitiveFlowFactoryused by this analyzer
-
insensitiveFlow
- Returns:
- a reference to the
InsensitiveFlowrepresenting the body of the given function that was analyzed by this instance.
-