[Soot-list] is soot able to analyze jar files?

Cheng Zhang cheng.zhang.stap at gmail.com
Thu Aug 11 12:56:32 EDT 2011


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/12590af2/attachment.html 


More information about the Soot-list mailing list