From aeadf8a6b7faced708204539cd002a4aa6a5254a Mon Sep 17 00:00:00 2001 From: sjfink Date: Thu, 3 Jan 2008 22:01:23 +0000 Subject: [PATCH] add some comments git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2282 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 --- com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/PDG.java | 6 ++++++ 1 file changed, 6 insertions(+) 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");