[Soot-list] Creating Stack variables for object instantiation Expression

Bernhard Berger berber at tzi.de
Wed Apr 17 01:47:34 EDT 2013


Hi,

there is a InvokeStmt where you can add a SpecialInvokeExpr. That should do the trick.

Bernhard

Am 17.04.2013 um 00:54 schrieb ASHISH MISHRA <ashish123.mishragkp at gmail.com>:

> Hi all,
> 
> I need to insert some object intantiation instructions of the following for 
> 
> 
> temp$5 = new tests.BaseClass;
> specialinvoke temp$5.<tests.BaseClass: void <init>()>();
> bc = temp$5;
> 
> I am able to create newExpr of the forn
> new test.Baseclass 
> and bc = temp$5
> 
> But how to create an Expression of specialInvoke temp$5.<>....
> 
> 
> 
> 
> -- 
> Regards,
> Ashish Mishra
> Graduate Student,
> Computer Science and Automation Department,IISc
> Cell : +91-9611194714
> Mailto : ashishmishra at csa.iisc.ernet.in
> 
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130417/a8c27e4d/attachment-0001.html 


More information about the Soot-list mailing list