[Soot-list] may be a Bug in soot

Amir Mehrabi mehrabi at comp.iust.ac.ir
Sat Jan 24 09:44:13 EST 2009


 Hi 
I write a class as follows:
 
package Test;
public class TestClass3 {

    public static void main(String[] args) {
        TestClass3 c3=new TestClass3();
        Object[] obj=new Object[2];
        obj[0]="SALAM";
        obj[1]=c3;
    }
}
 
then when i run soot with these parameter:
-app -f dava 
 
soot write the source of my file as follows:
 
package Test;
import cfg_generator.Prof;
public class TestClass3
{
    public static void main(String[]  r0) 
    {
        TestClass3 r2;
        r2 = new TestClass3;                        <========  WHY NOT "new 
TestClass3()" : where is it's parentheses?
        Object[] r3 = {"SALAM" , r2};
        
    }
}

 
Any one have a idea?!!!
 
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20090124/cabada08/attachment.html 


More information about the Soot-list mailing list