Package qilin.pta.tools
Class DebloatedPTA
java.lang.Object
qilin.core.PTA
qilin.core.CorePTA
qilin.pta.tools.BasePTA
qilin.pta.tools.StagedPTA
qilin.pta.tools.DebloatedPTA
- All Implemented Interfaces:
PointsToAnalysis
-
Nested Class Summary
-
Field Summary
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 TypeMethodDescriptioncreateCalleeCtx
(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) protected void
parameterize
(Node n, Context context) parameterize
(SootMethod method, Context context) Finds or creates the ContextMethod for method and context.protected void
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.Returns the set of objects pointed to by elements of the arrays in the PointsToSet s.Methods inherited from class qilin.pta.tools.BasePTA
createCallGraphBuilder, createPAG, dumpStats
Methods inherited from class qilin.core.CorePTA
ctxConstructor, ctxSelector, heapAbstractor, parameterize, parameterize, parameterize, parameterize, setContextSelector
Methods inherited from class qilin.core.PTA
getCallGraph, getCgb, getExceptionHandler, getNakedReachableMethods, getPag, getReachableMethods, getScene, getView, pureRun, reachingObjectsInternal, reachingObjectsInternal
-
Field Details
-
basePTA
-
ctxDepHeaps
-
debloatApproach
-
-
Constructor Details
-
DebloatedPTA
-
-
Method Details
-
preAnalysis
protected void preAnalysis()- Specified by:
preAnalysis
in classStagedPTA
-
mainAnalysis
protected void mainAnalysis()- Overrides:
mainAnalysis
in classStagedPTA
-
getPropagator
- Overrides:
getPropagator
in classBasePTA
-
parameterize
- Overrides:
parameterize
in classCorePTA
-
parameterize
Description copied from class:CorePTA
Finds or creates the ContextMethod for method and context.- Overrides:
parameterize
in classCorePTA
-
getRootNode
- Overrides:
getRootNode
in classCorePTA
-
evaluator
-
emptyContext
- Overrides:
emptyContext
in classCorePTA
-
createCalleeCtx
public Context createCalleeCtx(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) - Overrides:
createCalleeCtx
in classCorePTA
-
reachingObjects
Description copied from class:PTA
Returns the set of objects pointed to by variable l.- Specified by:
reachingObjects
in interfacePointsToAnalysis
- Overrides:
reachingObjects
in classPTA
-
reachingObjects
Description copied from class:PTA
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
- Overrides:
reachingObjects
in classPTA
-
reachingObjects
Description copied from class:PTA
Returns the set of objects pointed to by variable l in context c.- Specified by:
reachingObjects
in interfacePointsToAnalysis
- Overrides:
reachingObjects
in classPTA
-
reachingObjects
Description copied from interface:PointsToAnalysis
Returns the set of objects pointed to by static field f.- Specified by:
reachingObjects
in interfacePointsToAnalysis
- Overrides:
reachingObjects
in classPTA
-
reachingObjects
Description copied from class:PTA
Returns the set of objects pointed to by instance field f of the objects in the PointsToSet s.- Specified by:
reachingObjects
in interfacePointsToAnalysis
- Overrides:
reachingObjects
in classPTA
-
reachingObjects
Description copied from class:PTA
Returns the set of objects pointed to by instance field f of the objects pointed to by l.- Specified by:
reachingObjects
in interfacePointsToAnalysis
- Overrides:
reachingObjects
in classPTA
-
reachingObjects
Description copied from class:PTA
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
- Overrides:
reachingObjects
in classPTA
-
reachingObjectsOfArrayElement
Description copied from class:PTA
Returns the set of objects pointed to by elements of the arrays in the PointsToSet s.- Specified by:
reachingObjectsOfArrayElement
in interfacePointsToAnalysis
- Overrides:
reachingObjectsOfArrayElement
in classPTA
-