switched to 0-CFA call graphs
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2668 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
b4439c7a76
commit
bb2d20cba4
|
@ -198,12 +198,9 @@ public abstract class AbstractPtrTest extends TestCase {
|
|||
AnalysisOptions options = CallGraphTestUtil.makeAnalysisOptions(scope, entrypoints);
|
||||
|
||||
final AnalysisCache analysisCache = new AnalysisCache();
|
||||
// in general, RTA call graphs should not be used due to unsound handling
|
||||
// of clone() for pointer analysis, but some tests rely on RTA CG precision
|
||||
// so we use it here
|
||||
CallGraphBuilder cgBuilder = Util.makeRTABuilder(options, analysisCache, cha, scope);
|
||||
CallGraphBuilder cgBuilder = Util.makeZeroCFABuilder(options, analysisCache, cha, scope);
|
||||
final CallGraph cg = cgBuilder.makeCallGraph(options, null);
|
||||
// System.err.println(cg.toString());
|
||||
// System.err.println(cg.toString());
|
||||
|
||||
MemoryAccessMap fam = new SimpleMemoryAccessMap(cg, false);
|
||||
SSAPropagationCallGraphBuilder builder = Util.makeVanillaZeroOneCFABuilder(options, analysisCache, cha, scope);
|
||||
|
|
Loading…
Reference in New Issue