[Soot-list] how to convert a .class to .jimple under eclipse?

Peng Li lipeng360 at gmail.com
Sat Sep 23 00:08:47 EDT 2006


Thank you so much for your reply. Yes, I found the class files under the
Navigator. But when I did the convertion, the soot gave me a error as
following,

n --keep-line-number --xml-attributes --f J --cp  --d
c:\workspace\Hello\sootOutput
compilation failed: No main class specified!

My program is very simple(helloworld). would you pls tell me where can I set
the main class under eclipse? (In my first thought, If I need to set
something under eclipse about soot, i should use  "run soot", but it doesnot
work for this helloworld.class. And just works for helloworld,java file)

Thanks
Peng



2006/9/23, Eduardo S. Cordeiro <cordeiro at dcc.ufmg.br>:
>
> Classes are hidden in the Package Explorer view but not on
> Navigator...you should be able to find them there and convert them
>
> Regards,
> Eduardo
>
> Peng Li wrote:
> > HI,
> > I am trying to use eclipse(plugged with soot plugin) to convert a
> > class to jimple, but the problem is I just have the class file(I don't
> > have the source code for the class file). How can I do the
> > conversion? Because the class files are hidden in the package explore
> > of eclipse even you don't use any filters, that means that I can not
> > right click on the class file in eclipse to do the translation. Does
> > anybody have some suggestions except for using command line method?
> >
> > Cheers
> > P
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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/20060923/89985db8/attachment.htm


More information about the Soot-list mailing list