From a11b27d51b373d9f04839f2a1f570daf6504ff99 Mon Sep 17 00:00:00 2001 From: Steven Arzt Date: Sun, 26 Jul 2020 02:07:27 +0200 Subject: [PATCH] reverted a problematic fix --- .../android/config/SootConfigForAndroid.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/soot-infoflow-android/src/soot/jimple/infoflow/android/config/SootConfigForAndroid.java b/soot-infoflow-android/src/soot/jimple/infoflow/android/config/SootConfigForAndroid.java index 3180c0913..8b40428e4 100644 --- a/soot-infoflow-android/src/soot/jimple/infoflow/android/config/SootConfigForAndroid.java +++ b/soot-infoflow-android/src/soot/jimple/infoflow/android/config/SootConfigForAndroid.java @@ -25,9 +25,15 @@ public void setSootOptions(Options options, InfoflowConfiguration config) { List excludeList = new LinkedList(); excludeList.add("java.*"); excludeList.add("sun.*"); - // exclude classes of android.* will cause layout class cannot be - // loaded for layout file based callback analysis. - // excludeList.add("android.*"); + + // exclude classes of android.* will cause layout class cannot be + // loaded for layout file based callback analysis. + + // 2020-07-26 (SA): added back the exclusion, because removing it breaks + // calls to Android SDK stubs. We need a proper test case for the layout + // file issue and then see how to deal with it. + excludeList.add("android.*"); + excludeList.add("org.apache.*"); excludeList.add("org.eclipse.*"); excludeList.add("soot.*");