[Soot-list] From dex to sop.cpf and CFG
Simone Aonzo
simone.aonzo at gmail.com
Thu Nov 26 11:32:13 EST 2015
Hi all,
what I want to do using soot (and I'm not sure that's the right way) is:
1) from an app.apk generate the relative app.shimple with the sop.cpf
optimization
2) read the optimized app.shimple and playing with the cfg
Is the right way?
Btw this code:
String[] sootArgs = {
"-src-prec", "apk",
"-via-shimple",
"-f", "shimple",
"-soot-class-path",
"-android-jars", "/home/simo/Android/Sdk/platforms/",
"-process-dir",
"/home/simo/AndroidStudioProjects/TestApplication/app/build/outputs/apk/app-debug.apk"
};
soot.Main.main(sootArgs);
Fails with:
java.lang.RuntimeException: Attempt to create RefType containing a / -->
/home/simo/Android/Sdk/platforms/
at soot.RefType.<init>(RefType.java:64)
at soot.RefType.v(RefType.java:82)
....
Can you help me please?
Thanks,
Simone
More information about the Soot-list
mailing list