[Soot-list] Exception while running

Zeinab Lashkaripour lashkaripour at yahoo.com
Sun Feb 3 11:47:02 EST 2013



Many thanks to you Quentin,

You are a life saver. I'm really new to Soot and I have to learn a lot from you and the other friends that have a lot of experience and knowledge.

Kindest Regards,



----- Original Message -----
From: Quentin Sabah <quentin.sabah at inria.fr>
To: Soot List <soot-list at sable.mcgill.ca>
Cc: 
Sent: Sunday, February 3, 2013 8:07 PM
Subject: Re: [Soot-list] Exception while running

I'm happy that it is finally working.

> > Again, you show an error message, but you don't show the command line you used. 
> That's because I set the options with code (I should have shown the options). Before you answered I was looking through my options and  discovered that I had used -process-path which caused the exception (that's because my actual files that I need to analyze are
 in a directory and I forgot to omit it for the Test!).

Indeed, try to keep your analysis code and classes files apart from the code and classes files of programs you analyze, that will avoid many problems.

> I tried a simple code:
> MyMain.java
>     args = new String[] {"-pp", "-cp", ".", "-f", "jimple", "--app", "Test"};
>     soot.Main.main(args).
> 
> I got the following output:
>     Soot started on Mon Feb 04 17:46:53 IRST 2013
>     Transforming Test... 
>     Writing to sootOutput\Test.jimple
>     Soot finished on Mon Feb 04 17:46:54 IRST 2013
>     Soot has run for 0 min. 0 sec.
> 
> But there was nothing in the output directory?!

The output seems fine, you should search your entire file system for the Test.jimple, just to be 100% sure.

-- 
Quentin Sabah, CIFRE Ph.D.
 student
Grenoble University
INRIA-SARDES                   | STMicroelectronics/AST
Montbonnot, France             | Grenoble, France
mailto:quentin.sabah at inria.fr  | mailto:quentin.sabah at st.com
phone: +33 476 61 52 42        | phone: +33 476 58 44 14

_______________________________________________
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/20130203/7ef2f449/attachment.html 


More information about the Soot-list mailing list