[Soot-list] 答复: is soot able to analyze jar files?
Ding Sun
xyz031702 at hotmail.com
Fri Aug 12 11:45:10 EDT 2011
Hi, Cheng Zhang
Thanks ! Yes, it works. :)
Best Regards,
Ding Sun
发件人: Cheng Zhang [mailto:cheng.zhang.stap at gmail.com]
发送时间: 2011年8月12日 0:57
收件人: Ding Sun
抄送: soot-list at sable.mcgill.ca
主题: Re: [Soot-list] is soot able to analyze jar files?
Hi Ding,
Actually I have used Soot to analyze .class files (instead of Java source
code) in most of my projects.
If you want to process the .class files in a jar file, then you can use the
-process-dir option, like -process-dir xxx.jar
If some class in the jar file is referenced by the code you are analyzing,
then you can add the jar file
into the Soot classpath by using the -soot-classpath option.
Best,
Cheng
On Fri, Aug 12, 2011 at 12:26 AM, Ding Sun <xyz031702 at hotmail.com> wrote:
Hi, All
Previously I only use soot to process files whose source codes are
available. I'm wondering if a java method is from a Jar without any source
codes available, is soot able to analyze that method? Currently I use the
"whole program" mode , soot will tell me that method is "phantom".
Looking forward to your kind advice!
Best Regards,
Ding Sun
_______________________________________________
Soot-list mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20110812/56d9432f/attachment.html
More information about the Soot-list
mailing list