[Soot-list] Initialization to default values

Marc-Andre Laverdiere-Papineau marc-andre.laverdiere-papineau at polymtl.ca
Wed Dec 11 09:14:14 EST 2013


Hallo Martin,

As far as I know,  you'd have to generate those yourself. That is not 
very difficult, but you'll have to get used to Jimple :)

By the way, what is your objective? I had an interest in expliciting 
some things in Java EE, but didn't get very far down that track yet.

On 2013-12-07 05:30, Martin Schäf 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
>


-- 
Marc-André Laverdière-Papineau
Doctorant - PhD Candidate


More information about the Soot-list mailing list