[Soot-list] Internal Transform in not called for some library methods

Manjiri Namjoshi manjiri.namjoshi at googlemail.com
Fri Nov 21 14:56:56 EST 2008


Hello,

I was just using java.lang.System as a command line argument.
It calls internalTransform for other methods in java.lang.System

Actually, i dont want to transform all the library classes and/or methods.

Thank You.

Sincerely,
Manjiri


2008/11/21 Eric Bodden <eric.bodden at mail.mcgill.ca>

> You have to use "-i java." on the command line to include all java.*
> packages.
>
> See http://www.sable.mcgill.ca/soot/tutorial/usage/index.html
>
> Eric
>
> 2008/11/21 Manjiri Namjoshi <manjiri.namjoshi at googlemail.com>:
> > Hello,
> >
> > I was trying to transform a library class java.lang.System using SOOT.
> > /* adds the transformer. */
> >         PackManager.v().getPack("jtp").add(new
> >                         Transform("jtp.annotexample",
> >                   AnnotateHotMethods.v()));
> >
> >
> > /* invokes Soot */
> >         soot.Main.main(args);
> >
> > The Java API shows that java.lang.System contains a method named
> > currentTimeMillis(). But, the "internalTransform" is not being called for
> > it.
> > (Same is the case for java.lang.System.arraycopy()).
> >
> > I want to annotate these methods.
> > So, can anyone help me understand what is wrong ?
> >
> > Thank You.
> >
> > Sincerely,
> > Manjiri
> >
> >
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at sable.mcgill.ca
> > http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
> >
>
>
>
> --
> Eric Bodden
> Sable Research Group, McGill University, Montréal, Canada
> Got an interesting job offer? http://www.bodden.de/hire-me/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20081121/6c74de60/attachment.htm


More information about the Soot-list mailing list