public static class AllocationSiteHandler.PointsToSetHandler extends java.lang.Object implements AllocationSiteHandler
AllocationSiteHandler.CastCheckHandler, AllocationSiteHandler.PointsToSetHandler, AllocationSiteHandler.VirtualCallHandler
Constructor and Description |
---|
PointsToSetHandler() |
Modifier and Type | Method and Description |
---|---|
PointsToSetInternal |
getP2set() |
boolean |
handleAllocationSite(AllocNode allocNode,
ImmutableStack<java.lang.Integer> callStack)
handle a particular allocation site
|
void |
resetState() |
void |
setP2set(PointsToSetInternal p2set) |
boolean |
shouldHandle(VarNode dst) |
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 PointsToSetInternal getP2set()
public void setP2set(PointsToSetInternal p2set)
public void resetState()
resetState
in interface AllocationSiteHandler
public boolean shouldHandle(VarNode dst)
shouldHandle
in interface AllocationSiteHandler