[Soot-list] Excluding support classes in an APK file
Arzt, Steven
steven.arzt at sit.fraunhofer.de
Mon Apr 24 07:25:38 EDT 2017
Hi Mian,
You need an asterisk in the end, i.e., "-x", "android.*".
Best regards,
Steven
-----Original Message-----
From: Soot-list [mailto:soot-list-bounces at cs.mcgill.ca] On Behalf Of Mian Wan
Sent: Sunday, April 23, 2017 11:44 AM
To: soot-list at cs.mcgill.ca
Subject: [Soot-list] Excluding support classes in an APK file
Hi, all.
As we know, Soot will treat all classes in an APK file as application classes. I tried to use the -x excluding option to make those classes, like “android.support.*” and “com.google.*”, as library classes.
I tried the following options, but the excluding option doesn’t work. The application class number is still 5000+.
String[] sootArgs = {
"-w",
"-f", "n", // no output
"-keep-line-number",
"-allow-phantom-refs",
"-process-dir", Configs.apk,
"-src-prec", "apk",
"-android-jars", Configs.androidJar,
"-x", "android.",
"-x", "com.google."
};
I tried the option in both the command line and the Options.v().set_exclude() API. Is there any way I can minimize the application class number for my analysis?
Thanks,
Mian
_______________________________________________
Soot-list mailing list
Soot-list at CS.McGill.CA
https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
More information about the Soot-list
mailing list