[Soot-list] Help: How to change the source code by Soot

Yu Zhang upupsky at gmail.com
Fri May 30 05:42:41 EDT 2008


Dear all,

I want to know whether Soot can work based on Jave Source code.

For example, after some analysis based on Soot, I want to add some
information into the source code.
The orginial source code is as below:
public class Temp
{
    public void test() {
        int x = 0;
    }
}

And I want add some code into it, like:
public class Temp
{
    public void test() {
        int x = 0;
        System.out.println(x);  //this in the code I want to add
    }
}

How can I do with it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20080530/185495b5/attachment.htm


More information about the Soot-list mailing list