[Soot-list] Initialization to default values

Zhoulai zell08v at gmail.com
Sat Dec 7 09:42:56 EST 2013


Hi,

Do you mean that you would like to add a statement into the default
constructor? If so, have you tried the " create unit" part of
http://www.sable.mcgill.cad/soot/tutorial/createclass/?

Zhoulai


On Sat, Dec 7, 2013 at 11:30 AM, Martin Schäf <martinschaef at gmail.com>wrote:

> Hi there,
>
> is there a way in Soot to make the default initialization explicit?
> Say, we have a class:
>
> public class A {
>     public Object obj1;
> }
>
> Soot already creates a default constructor
> public A() { }
>
> is it possible to further tell soot to add a
> this.obj1 = null;
>
> Many thanks,
> Martin
> _______________________________________________
> 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/20131207/43f47dbe/attachment.html 


More information about the Soot-list mailing list