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

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20081121/3ccd0c9c/attachment.htm


More information about the Soot-list mailing list