Package qilin.core
Class PTA
java.lang.Object
qilin.core.PTA
- All Implemented Interfaces:
PointsToAnalysis
- Direct Known Subclasses:
CorePTA
-
Field Summary
Modifier and TypeFieldDescriptionprotected OnFlyCallGraph
protected CallGraphBuilder
protected ExceptionHandler
protected PAG
protected AllocNode
protected PTAScene
Fields inherited from interface qilin.core.PointsToAnalysis
EXCEPTION_NODE, MAIN_THREAD_GROUP_NODE_LOCAL, RETURN_NODE, STRING_NODE, THIS_NODE, THROW_NODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Context
createCalleeCtx
(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) protected abstract CallGraphBuilder
protected abstract PAG
abstract CtxConstructor
abstract CtxSelector
abstract Context
getCgb()
getPag()
protected abstract Propagator
abstract AllocNode
getScene()
getView()
abstract HeapAbstractor
abstract Node
parameterize
(Node n, Context context) abstract ContextMethod
parameterize
(SootMethod method, Context context) void
pureRun()
reachingObjects
(Context c, SootMethod m, Local l) Returns the set of objects pointed to by variable l in context c.reachingObjects
(Context c, SootMethod m, Local l, SootField f) Returns the set of objects pointed to by instance field f of the objects pointed to by l in context c.Returns the set of objects pointed by n: case 1: n is an insensitive node, return objects pointed by n under every possible context.Returns the set of objects pointed to by instance field f of the objects in the PointsToSet s.Returns the set of objects pointed to by static field f.reachingObjects
(SootMethod m, Local l) Returns the set of objects pointed to by variable l.reachingObjects
(SootMethod m, Local l, SootField f) Returns the set of objects pointed to by instance field f of the objects pointed to by l.reachingObjectsInternal
(AllocNode heap, SparkField f) reachingObjectsInternal
(PointsToSet bases, SparkField f) Returns the set of objects pointed to by elements of the arrays in the PointsToSet s.void
run()
-
Field Details
-
scene
-
rootNode
-
pag
-
callGraph
-
cgb
-
eh
-
-
Constructor Details
-
PTA
-
-
Method Details
-
createPAG
-
createCallGraphBuilder
-
run
public void run() -
pureRun
public void pureRun() -
getPag
-
getView
-
getScene
-
getCgb
-
getExceptionHandler
-
getCallGraph
-
getReachableMethods
-
getNakedReachableMethods
-
getPropagator
-
parameterize
-
parameterize
-
getRootNode
-
emptyContext
-
createCalleeCtx
public abstract Context createCalleeCtx(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) -
heapAbstractor
-
ctxConstructor
-
ctxSelector
-
reachingObjects
Returns the set of objects pointed to by variable l.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjects
Returns the set of objects pointed by n: case 1: n is an insensitive node, return objects pointed by n under every possible context. case 2: n is a context-sensitive node, return objects pointed by n under the given context.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjectsOfArrayElement
Returns the set of objects pointed to by elements of the arrays in the PointsToSet s.- Specified by:
reachingObjectsOfArrayElement
in interfacePointsToAnalysis
-
reachingObjects
Returns the set of objects pointed to by variable l in context c.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjects
Returns the set of objects pointed to by instance field f of the objects pointed to by l.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjects
Returns the set of objects pointed to by instance field f of the objects in the PointsToSet s.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjects
Returns the set of objects pointed to by instance field f of the objects pointed to by l in context c.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjects
Description copied from interface:PointsToAnalysis
Returns the set of objects pointed to by static field f.- Specified by:
reachingObjects
in interfacePointsToAnalysis
-
reachingObjectsInternal
-
reachingObjectsInternal
-