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

Eric Bodden eric.bodden at mail.mcgill.ca
Fri Nov 21 14:51:45 EST 2008


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/


More information about the Soot-list mailing list