[Soot-list] Dava, how to run.

Roman Petriev vvpiroman at gmail.com
Tue Oct 28 15:01:00 EDT 2014


Is Dava works?

I try to use cmd string:
java -Xmx512M -cp soot.jar soot.Main -cp "C:\Program
Files\Java\jre7\lib\rt.jar;C:\Program
Files\Java\jre7\lib\jce.jar;C:\Program
Files\Java\jre7\lib\jsse.jar;C:\Program
Files\Java\jre7\lib\charsets.jar;Parallel_Shell.jar" -app
parallel_shell.Parallel_Shell -f dava -p db.transformations enabled:true -p
db.renamer enabled:true -p db.deobfuscate enabled:true -p
db.force-recompile enabled:true

And I have error message:

Decompiling parallel_shell.Parallel_Shell...
Decompiling parallel_shell.ShellSort...
Decompiling parallel_shell.ShellSort$Sorter...
Setting declaring class of methodint
<init>(parallel_shell.ShellSort,int[],int,D
avaSuperHandler)

Analyzing sootOutput\dava\src\parallel_shell\Parallel_Shell.java...
Analyzing sootOutput\dava\src\parallel_shell\ShellSort.java...
java.lang.RuntimeException: wrong static-ness
        at soot.jimple.StaticFieldRef.<init>(StaticFieldRef.java:46)
        at
soot.dava.internal.javaRep.DStaticFieldRef.<init>(DStaticFieldRef.java:46)
        at
soot.dava.toolkits.base.AST.transformations.DeInliningFinalFields.checkAndSwitch(DeInliningFinalFields.java:211)
        at
soot.dava.toolkits.base.AST.transformations.DeInliningFinalFields.inASTStatementSequenceNode(DeInliningFinalFields.java:360)
        at
soot.dava.toolkits.base.AST.analysis.DepthFirstAdapter.caseASTStatementSequenceNode(DepthFirstAdapter.java:509)
        at
soot.dava.internal.AST.ASTStatementSequenceNode.apply(ASTStatementSequenceNode.java:98)
        at
soot.dava.toolkits.base.AST.analysis.DepthFirstAdapter.normalRetrieving(DepthFirstAdapter.java:493)
        at
soot.dava.toolkits.base.AST.analysis.DepthFirstAdapter.caseASTMethodNode(DepthFirstAdapter.java:68)
        at
soot.dava.internal.AST.ASTMethodNode.apply(ASTMethodNode.java:492)
        at soot.dava.DavaBody.applyASTAnalyses(DavaBody.java:626)
        at soot.dava.DavaBody.analyzeAST(DavaBody.java:420)
        at soot.PackManager.postProcessDAVA(PackManager.java:693)
        at soot.PackManager.writeOutput(PackManager.java:521)
        at soot.Main.run(Main.java:246)
        at soot.Main.main(Main.java:152)

Parallel_Shell.jar is simple console application for testing.
What's wrong?

Thanks for any help!

Best Regards,
Roman.


2014-10-27 12:29 GMT+03:00 Roman Petriev <vvpiroman at gmail.com>:

> Hi, All!
>
> I want to decompile jar with Dava, but I can't find right cmd arguments.
> How I can do this? Could someone write examples?
>
> Best Regards,
> Roman.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141028/ec1016bd/attachment.html 


More information about the Soot-list mailing list