➜ soot-runable java -cp soot-2.5.0.jar soot.tools.CFGViewer --graph=BriefUnitGraph --ir=jimple --soot-class-path /usr/lib/jvm/java-7-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-7-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-7-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-7-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jfr.jar:/home/gary/workspace-kepler/Test/bin/:/usr/lib/jvm/java-7-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-7-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-7-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-7-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-7-oracle/jre/lib/ext/dnsns.jar:/home/gary/workspace-kepler/Test/src/:/home/gary/Android/Sdk/platforms/android-24/android.jar:/Test/src::null --d /home/gary/workspace-kepler/Test/sootOutput com.droider.crackme0201.MainActivity
Soot started on Thu Aug 04 18:56:04 CST 2016
Transforming com.droider.crackme0201.MainActivity...
Generate dot file in /home/gary/workspace-kepler/Test/sootOutput/void <init>().dot
Generate dot file in /home/gary/workspace-kepler/Test/sootOutput/void <init>(java.lang.Object[],com.android.tools.fd.runtime.InstantReloadException).dot
Generate dot file in /home/gary/workspace-kepler/Test/sootOutput/android.widget.EditText access$000(com.droider.crackme0201.MainActivity).dot
Generate dot file in /home/gary/workspace-kepler/Test/sootOutput/android.widget.EditText access$100(com.droider.crackme0201.MainActivity).dot
Generate dot file in /home/gary/workspace-kepler/Test/sootOutput/boolean access$200(com.droider.crackme0201.MainActivity,java.lang.String,java.lang.String).dot
Generate dot file in /home/gary/workspace-kepler/Test/sootOutput/android.widget.Button access$300(com.droider.crackme0201.MainActivity).dot
Exception in thread "main" soot.SootMethodRefImpl$ClassResolutionFailedException: Class android.app.Activity doesn't have method setPersistent([boolean]) : void; failed to resolve in superclasses and interfacesLooking in android.app.Activity which has methods
[
<android.app.Activity: void <init>()>,
<android.app.Activity: android.content.Intent getIntent()>,
<android.app.Activity: void setIntent(android.content.Intent)>, <android.app.Activity: android.app.Application getApplication()>,
......
<android.app.Activity: boolean isChild()>,
<android.app.Activity: android.app.Activity getParent()>,
<android.content.ComponentCallbacks: void onLowMemory()>
]
at soot.SootMethodRefImpl.resolve(SootMethodRefImpl.java:183)
at soot.SootMethodRefImpl.resolve(SootMethodRefImpl.java:109)
at soot.BriefUnitPrinter.methodRef(BriefUnitPrinter.java:43)
at soot.jimple.internal.AbstractSpecialInvokeExpr.toString(AbstractSpecialInvokeExpr.java:99)
at soot.AbstractValueBox.toString(AbstractValueBox.java:52)
at soot.jimple.internal.JInvokeStmt.toString(JInvokeStmt.java:71)
at soot.util.cfgcmd.CFGToDotGraph.formatNodeText(CFGToDotGraph.java:502)
at soot.util.cfgcmd.CFGToDotGraph.drawCFG(CFGToDotGraph.java:316)
at soot.util.cfgcmd.CFGGraphType$1.drawGraph(CFGGraphType.java:128)
at soot.tools.CFGViewer.print_cfg(CFGViewer.java:247)
at soot.tools.CFGViewer.internalTransform(CFGViewer.java:76)
at soot.BodyTransformer.transform(BodyTransformer.java:51)
at soot.Transform.apply(Transform.java:104)
at soot.BodyPack.internalApply(BodyPack.java:49)
at soot.Pack.apply(Pack.java:124)
at soot.PackManager.runBodyPacks(PackManager.java:775)
at soot.PackManager.runBodyPacks(PackManager.java:463)
at soot.PackManager.runBodyPacks(PackManager.java:380)
at soot.PackManager.runPacks(PackManager.java:357)
at soot.Main.run(Main.java:198)
at soot.Main.main(Main.java:141)
at soot.tools.CFGViewer.main(CFGViewer.java:101)