Skip to content

Commit fdd8606

Browse files
author
Eric Bodden
committed
generaized interface
1 parent 71cd95b commit fdd8606

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/soot/jimple/toolkits/ide/JimpleIDESolver.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package soot.jimple.toolkits.ide;
22

3+
import heros.IDETabulationProblem;
34
import heros.InterproceduralCFG;
45
import heros.debugsupport.NewEdgeSerializer;
56
import heros.solver.IDESolver;
@@ -22,11 +23,11 @@ public class JimpleIDESolver<D, V> extends IDESolver<Unit, D, SootMethod, V, Int
2223

2324
private final boolean DUMP_RESULTS;
2425

25-
public JimpleIDESolver(DefaultJimpleIDETabulationProblem<D, V, InterproceduralCFG<Unit,SootMethod>> problem) {
26+
public JimpleIDESolver(IDETabulationProblem<Unit,D,SootMethod,V,InterproceduralCFG<Unit,SootMethod>> problem) {
2627
this(problem,false);
2728
}
2829

29-
public JimpleIDESolver(DefaultJimpleIDETabulationProblem<D, V, InterproceduralCFG<Unit,SootMethod>> problem, boolean dumpResults) {
30+
public JimpleIDESolver(IDETabulationProblem<Unit,D,SootMethod,V,InterproceduralCFG<Unit,SootMethod>> problem, boolean dumpResults) {
3031
super(problem);
3132
this.DUMP_RESULTS = dumpResults;
3233
}

src/soot/jimple/toolkits/ide/JimpleIFDSSolver.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package soot.jimple.toolkits.ide;
22

3+
import heros.IFDSTabulationProblem;
34
import heros.InterproceduralCFG;
45
import heros.debugsupport.NewEdgeSerializer;
56
import heros.solver.IFDSSolver;
@@ -23,11 +24,11 @@ public class JimpleIFDSSolver<D, V> extends IFDSSolver<Unit, D, SootMethod, Inte
2324

2425
private final boolean DUMP_RESULTS;
2526

26-
public JimpleIFDSSolver(DefaultJimpleIFDSTabulationProblem<D, InterproceduralCFG<Unit,SootMethod>> problem) {
27+
public JimpleIFDSSolver(IFDSTabulationProblem<Unit,D,SootMethod,InterproceduralCFG<Unit,SootMethod>> problem) {
2728
this(problem,false);
2829
}
2930

30-
public JimpleIFDSSolver(DefaultJimpleIFDSTabulationProblem<D, InterproceduralCFG<Unit,SootMethod>> problem, boolean dumpResults) {
31+
public JimpleIFDSSolver(IFDSTabulationProblem<Unit,D,SootMethod,InterproceduralCFG<Unit,SootMethod>> problem, boolean dumpResults) {
3132
super(problem);
3233
this.DUMP_RESULTS = dumpResults;
3334
}

0 commit comments

Comments
 (0)