[Soot-list] Decompiling Class file
saswat at cc.gatech.edu
saswat at cc.gatech.edu
Tue Jun 6 15:51:13 EDT 2006
I used soot-2.2.2, 2.2.3 and nightly build without any success.
java -cp
jasminclasses-2327.jar:polyglotclasses-1.3.1.jar:sootclasses-2327.jar
soot.Main -f dava -soot-classpath ../jdk1.3.1_18/jre/lib/rt.jar
java.lang.String
I get:
Exception in thread "main" java.lang.RuntimeException: Could not verify
approximated Synchronized body
at
soot.dava.toolkits.base.finders.SynchronizedBlockFinder.find(SynchronizedBlockFinder.java:163)
at soot.dava.DavaBody.<init>(DavaBody.java:306)
at soot.dava.Dava.newBody(Dava.java:84)
at soot.PackManager.runBodyPacks(PackManager.java:718)
at soot.PackManager.runBodyPacks(PackManager.java:396)
at soot.PackManager.runBodyPacks(PackManager.java:340)
at soot.PackManager.runPacks(PackManager.java:335)
at soot.Main.run(Main.java:203)
at soot.Main.main(Main.java:146)
If it runs on your side could you please tell me the JDK version.
Thanks,
Saswat
>
>> Also I wanted to check if somebody on this list has to decompile
>> soot-generated class files and has any recommendation on the decompiler
>> to
>> use.
>
> I use soot to decompile soot-generated classes all the time. I rarely, if
> ever, have any issues. Perhaps your version of soot is not quite up to
> date? I know Nomair was working on Dava a lot these last few months
> (jan-april) so it may be worth getting your own copy of soot from the
> repository. It's got all the latest and greatest.
>
> More details as to the java.lang.String problem could be helpful in
> figuring out what went wrong.
>
> Finally, the latest version of dava has an option to specifically tell the
> decompiler that input classes were not compiled by a javac variant. I
> can't recall the exact syntax right now but it's in the db options. If you
> have trouble finding it, let me know.
>
> Michael
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
More information about the Soot-list
mailing list