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

xwlin.roy at gmail.com xwlin.roy at gmail.com
Fri Jul 8 04:15:05 EDT 2016


I have faced the same problem,but haven't solve it.
Have you fixed this problem?

在 2016年6月7日星期二 UTC+8上午1:28:02,kobra khanmohammadi写道:
>
> 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
>         at 
> soot.jimple.parser.SkeletonExtractorWalker.caseAFile(SkeletonExtracto
> rWalker.java:80)
>         at soot.jimple.parser.node.AFile.apply(AFile.java:61)
>         at 
> soot.jimple.parser.analysis.DepthFirstAdapter.caseStart(DepthFirstAda
> pter.java:34)
>         at soot.jimple.parser.node.Start.apply(Start.java:37)
> ...        
>        at soot.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/20160708/0f207f83/attachment-0001.html 


More information about the Soot-list mailing list