[Soot-list] give jar as input for transformation??

dinesh chhatani dinustudy at gmail.com
Tue Jun 22 01:51:31 EDT 2010


On Tue, Jun 22, 2010 at 11:14 AM, dinesh chhatani <dinustudy at gmail.com>wrote:

> Thanks for reply.I added "Options.v().process_dir(); " in my program
>


> Now the problem is exception.
>
> can you tell me where I am going wrong.
>
> Exception in thread "main" java.lang.RuntimeException: couldn't find class:
> C:\Documents and Settings\my.jar (is your soot-class-path set properly?)
>     at soot.SootResolver.bringToHierarchy(SootResolver.java:184)
>     at soot.SootResolver.bringToSignatures(SootResolver.java:219)
>     at soot.SootResolver.processResolveWorklist(SootResolver.java:139)
>     at soot.SootResolver.resolveClass(SootResolver.java:124)
>     at soot.Scene.loadClass(Scene.java:425)
>     at soot.Scene.loadClassAndSupport(Scene.java:410)Soot started on Tue
> Jun 22 11:11:46 IST 2010
>
>     at soot.Scene.loadNecessaryClass(Scene.java:1010)
>     at soot.Scene.loadNecessaryClasses(Scene.java:1024)
>     at soot.Main.run(Main.java:167)
>     at soot.Main.main(Main.java:141)
>     at cover.MyGraph.main(MyGraph.java:163)
>
>
>
> On Mon, Jun 21, 2010 at 7:38 PM, Eric Bodden <
> bodden at st.informatik.tu-darmstadt.de> wrote:
>
>> > Right now I am giving class file as input to my program for jtp
>> > transformation.Is there something so that if  I give jar as input ,it
>> should
>> > take all the classes inside it.
>>
>> Yep:
>>
>> -process-dir /path/to/your-file.jar
>>
>> Eric
>>
>
>
>
> --
> Regards ,
> Dinesh Chhatani
>



-- 
Regards ,
Dinesh Chhatani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100622/2bdd8a6a/attachment.html 


More information about the Soot-list mailing list