[Soot-list] Packages in classpath.

Roman Petriev vvpiroman at gmail.com
Thu Jun 11 09:16:56 EDT 2015


Ok, I have found solutions :) . Thanks.

2015-06-11 15:33 GMT+03:00 Steven Arzt <Steven.Arzt at cased.de>:

> Hi Roman,
>
>
>
> Your Soot classpath is wrong. The package structure of the classes inside
> it must match the directory structure of your classpath folders. If you
> have a class “decomp.Decomp”, Soot (lust like the JRE would) expects a
> folder “decomp” with a class “decomp.class” inside it.
>
>
>
> Best regards,
>
>   Steven
>
>
>
> *Von:* soot-list-bounces at CS.McGill.CA [mailto:
> soot-list-bounces at CS.McGill.CA] *Im Auftrag von *Roman Petriev
> *Gesendet:* Donnerstag, 11. Juni 2015 14:22
> *An:* soot-list at cs.mcgill.ca
> *Betreff:* Re: [Soot-list] Packages in classpath.
>
>
>
> I have tried using -process-dir option, but soot couldn't find any class
> in my test jar.
>
>
>
> java -Xmx768M -cp soot.jar soot.jbco.Main -w -t:jtp.jbco_so -cp
> "decomp.jar" -process-dir "./decomp/" -d "./sootOutput2/"
>
>
>
> I have unpacked my jar and tried transforming app.
>
> Error:
>
> java.lang.RuntimeException: Class names not equal! decomp.Decomp != Decomp
>
>
>
> What's wrong?
>
> P.s. I'm sorry for my bad engish.
>
>
>
> Best Regards,
>
> Roman.
>
>
>
>
>
> 2015-06-10 21:18 GMT+03:00 Roman Petriev <vvpiroman at gmail.com>:
>
> Hi, all!
>
>
>
> Unfortunately, I couldn't find, how can I transform packages in soot
> classpath.
>
> E.g.
>
> java -cp soot.jar soot.Main -cp "myapp.jar" my_app.pack1.* my_app.pack2.*
>
> Instead of
>
> java -cp soot.jar soot.Main -cp "myapp.jar" my_app.pack1.Class1
> my_app.pack1.Class2 my_app.pack1.Class3
> my_app.pack2.Class1 my_app.pack2.Class2 my_app.pack2.Class3
>
>
>
> Thanks, for help.
>
>
>
> Best Regards,
>
> Roman.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150611/362a4481/attachment.html 


More information about the Soot-list mailing list