public static class AllocationSiteHandler.VirtualCallHandler extends java.lang.Object implements AllocationSiteHandler
AllocationSiteHandler.CastCheckHandler, AllocationSiteHandler.PointsToSetHandler, AllocationSiteHandler.VirtualCallHandler
Modifier and Type | Field and Description |
---|---|
NumberedString |
methodStr |
PAG |
pag |
java.util.Set<SootMethod> |
possibleMethods |
Type |
receiverType |
Constructor and Description |
---|
VirtualCallHandler(PAG pag,
Type receiverType,
NumberedString methodStr) |
Modifier and Type | Method and Description |
---|---|
boolean |
handleAllocationSite(AllocNode allocNode,
ImmutableStack<java.lang.Integer> callStack)
handle a particular allocation site
|
void |
resetState() |
boolean |
shouldHandle(VarNode dst) |
public PAG pag
public Type receiverType
public NumberedString methodStr
public java.util.Set<SootMethod> possibleMethods
public VirtualCallHandler(PAG pag, Type receiverType, NumberedString methodStr)
pag
- receiverType
- methodName
- parameterTypes
- returnType
- public boolean handleAllocationSite(AllocNode allocNode, ImmutableStack<java.lang.Integer> callStack)
AllocationSiteHandler
handleAllocationSite
in interface AllocationSiteHandler
allocNode
- the abstract location nodecallStack
- for context-sensitive analysis, the call site; might be nullpublic void resetState()
resetState
in interface AllocationSiteHandler
public boolean shouldHandle(VarNode dst)
shouldHandle
in interface AllocationSiteHandler