[Soot-list] Jimple to apk get exception in skeletonExtractorWalker

kobra khanmohammadi kobra_khanmohammadi at yahoo.com
Mon Jun 6 13:27:26 EDT 2016


Hi,I am trying to tranform APK to Jimple and do instrumentation and tranfer back jimple to APK. But, before doing any changes and instrumentation in jimple code, I just used soot command to change apk to jimple (It is done with no error) and then change jimple files to dex code to get classes.dex. It gives the following exception.
java.lang.RuntimeException: expected:  com.adwo.adsdk.b, but got: com.adwo.adsdk.B        atsoot.jimple.parser.SkeletonExtractorWalker.caseAFile(SkeletonExtractorWalker.java:80)        atsoot.jimple.parser.node.AFile.apply(AFile.java:61)        atsoot.jimple.parser.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34)        atsoot.jimple.parser.node.Start.apply(Start.java:37)...        
       atsoot.Main.main(Main.java:147)
I used this command
java -cp soot-trunk.jar soot.Main -process-dir "c:\soot\sootOutput" -android-jars"C:\android\Android-jar" -allow-phantom-refs -f dex-src-prec jimple -output-dir"C:\Ava\android\Dataset\output"
Would you please help me in finding the problem.Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20160606/9e4f01c4/attachment.html 


More information about the Soot-list mailing list