[Soot-list] Exception while running

Patrick Lam plam at sable.mcgill.ca
Sun Feb 3 11:52:52 EST 2013


Hi Zeinab,

I'm going to point out that it's not actually Soot-related or 
static-analysis-related problems that you seem to be experiencing, but 
rather problems with using (research) software systems and with asking 
for help.

As someone else has pointed out, it's mandatory to include maximal 
details on the question that you may be asking. Put yourself in the 
place of the person who is trying to answer your question and ask 
yourself if you've included enough details that someone else could 
possibly answer the question based on what you've included. Often, the 
answer to that question has been "no".

pat

On 02/03/13 11:47, Zeinab Lashkaripour wrote:
>
> 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 inria.fr> |
> mailto:quentin.sabah at st.com <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 <mailto:Soot-list at sable.mcgill.ca>
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>
>
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list



More information about the Soot-list mailing list