Skip to content

Commit ede699c

Browse files
committed
[Maven Integration] Removed dependency to Soot Infoflow.
1 parent edc0342 commit ede699c

File tree

3 files changed

+281
-160
lines changed

3 files changed

+281
-160
lines changed
-13.7 MB
Binary file not shown.

swan_core/src/main/java/de/fraunhofer/iem/swan/Parser.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import de.fraunhofer.iem.swan.data.Method;
2222
import de.fraunhofer.iem.swan.features.AbstractSootFeature;
2323
import soot.SootMethod;
24-
import soot.jimple.infoflow.source.data.SourceSinkDefinition;
2524

2625
/**
2726
* Loads methods from file or jars.
@@ -257,8 +256,14 @@ private void loadMethodsFromJsonArray(JSONArray array, String type) {
257256
}
258257
}
259258

260-
SourceSinkDefinition ssd = new SourceSinkDefinition(m);
261-
Method method = (Method) ssd.getMethod();
259+
260+
// Note by Ingo Budde:
261+
// I modified the following lines to get rid of soot-infoflow dependency.
262+
// It seems that the SourceSinkDefinition is not used here.
263+
264+
// SourceSinkDefinition ssd = new SourceSinkDefinition(m);
265+
// Method method = (Method) ssd.getMethod();
266+
Method method = m;
262267

263268
// parse the correct types
264269
if (jsonObj.get(Constants.TYPE) != null) {

0 commit comments

Comments
 (0)