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)
AllocationSiteHandlerhandleAllocationSite in interface AllocationSiteHandlerallocNode - 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 AllocationSiteHandlerpublic boolean shouldHandle(VarNode dst)
shouldHandle in interface AllocationSiteHandler