Skip to content

Commit

Permalink
Remove CG dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Nov 30, 2023
1 parent d47e1d6 commit a4f7668
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import static org.junit.Assert.assertTrue;

import com.ibm.wala.cast.python.client.PythonAnalysisEngine;
import com.ibm.wala.cast.python.ipa.callgraph.PythonSSAPropagationCallGraphBuilder;
import com.ibm.wala.ipa.callgraph.CGNode;
import com.ibm.wala.ipa.callgraph.CallGraph;
import com.ibm.wala.ipa.cha.ClassHierarchyException;
Expand All @@ -30,14 +28,7 @@ public void testCallables()
};

for (String fileName : testFileNames) {
PythonAnalysisEngine<?> E = makeEngine(fileName);
PythonSSAPropagationCallGraphBuilder B = E.defaultCallGraphBuilder();
CallGraph CG = B.makeCallGraph(B.getOptions());

CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.dumpCG(
(SSAContextInterpreter) B.getContextInterpreter(), B.getPointerAnalysis(), CG);

CallGraph CG = process(fileName);
boolean found = false;

for (CGNode node : CG) {
Expand Down

0 comments on commit a4f7668

Please sign in to comment.