diff --git a/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/PDG.java b/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/PDG.java index 20b37947d..3a68762a8 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/PDG.java +++ b/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/PDG.java @@ -144,6 +144,9 @@ public class PDG extends SlowSparseNumberedGraph { createControlDependenceEdges(cOptions); } + /** + * return the set of all PARAM_CALLER and HEAP_PARAM_CALLER statements associated with a given call + */ public Set getCallerParamStatements(SSAAbstractInvokeInstruction call) throws IllegalArgumentException { if (call == null) { throw new IllegalArgumentException("call == null"); @@ -151,6 +154,9 @@ public class PDG extends SlowSparseNumberedGraph { return callerParamStatements.get(call.getCallSite()); } + /** + * return the set of all NORMAL_RETURN_CALLER and HEAP_RETURN_CALLER statements associated with a given call. + */ public Set getCallerReturnStatements(SSAAbstractInvokeInstruction call) throws IllegalArgumentException { if (call == null) { throw new IllegalArgumentException("call == null");