Class AllocationSiteHandler.VirtualCallHandler
- java.lang.Object
-
- soot.jimple.spark.ondemand.pautil.AllocationSiteHandler.VirtualCallHandler
-
- All Implemented Interfaces:
AllocationSiteHandler
- Enclosing interface:
- AllocationSiteHandler
public static class AllocationSiteHandler.VirtualCallHandler extends Object implements AllocationSiteHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface soot.jimple.spark.ondemand.pautil.AllocationSiteHandler
AllocationSiteHandler.CastCheckHandler, AllocationSiteHandler.PointsToSetHandler, AllocationSiteHandler.VirtualCallHandler
-
-
Field Summary
Fields Modifier and Type Field Description SootMethodcalleePAGpagSet<SootMethod>possibleMethodsTypereceiverType
-
Constructor Summary
Constructors Constructor Description VirtualCallHandler(PAG pag, Type receiverType, SootMethod callee)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhandleAllocationSite(AllocNode allocNode, ImmutableStack<Integer> callStack)handle a particular allocation sitevoidresetState()booleanshouldHandle(VarNode dst)
-
-
-
Field Detail
-
pag
public PAG pag
-
receiverType
public Type receiverType
-
callee
public SootMethod callee
-
possibleMethods
public Set<SootMethod> possibleMethods
-
-
Constructor Detail
-
VirtualCallHandler
public VirtualCallHandler(PAG pag, Type receiverType, SootMethod callee)
- Parameters:
pag-receiverType-
-
-
Method Detail
-
handleAllocationSite
public boolean handleAllocationSite(AllocNode allocNode, ImmutableStack<Integer> callStack)
Description copied from interface:AllocationSiteHandlerhandle a particular allocation site- Specified by:
handleAllocationSitein interfaceAllocationSiteHandler- Parameters:
allocNode- the abstract location nodecallStack- for context-sensitive analysis, the call site; might be null- Returns:
- true if analysis should be terminated; false otherwise
-
resetState
public void resetState()
- Specified by:
resetStatein interfaceAllocationSiteHandler
-
shouldHandle
public boolean shouldHandle(VarNode dst)
- Specified by:
shouldHandlein interfaceAllocationSiteHandler
-
-