From 0f1cffa6da8e0dbdf7aeb10aa3e17ad9c36e40a5 Mon Sep 17 00:00:00 2001 From: sjfink Date: Wed, 7 May 2008 19:05:58 +0000 Subject: [PATCH] resurrect old API git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2790 f5eafffb-2e1d-0410-98e4-8ec43c5233c4 --- .../src/com/ibm/wala/ipa/slicer/thin/CISlicer.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/thin/CISlicer.java b/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/thin/CISlicer.java index 8d96b904d..2c895b73a 100644 --- a/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/thin/CISlicer.java +++ b/com.ibm.wala.core/src/com/ibm/wala/ipa/slicer/thin/CISlicer.java @@ -92,6 +92,20 @@ public class CISlicer { Collection slice = DFS.getReachableNodes(depGraph, seeds); return slice; } + + /** + * Compute the set of pointer keys each statement mods + */ + public static Map> scanForMod(SDG sdg, PointerAnalysis pa) { + return scanForMod(sdg, pa, false, ModRef.make()); + } + + /** + * Compute the set of pointer keys each statement refs + */ + public static Map> scanForRef(SDG sdg, PointerAnalysis pa) { + return scanForRef(sdg, pa, ModRef.make()); + } /** * Compute the set of pointer keys each statement mods