[Soot-list] JimpleLocal - Local Variable or was generated by Soot?

Vasco Pessanha coreanu_ at hotmail.com
Thu Jun 2 09:13:12 EDT 2011


LOOL Yes, I noticed that but I would prefer something more formal or, as you say, foolproof:P

Anymore hints?

> Date: Thu, 2 Jun 2011 08:57:23 -0400
> From: plam at sable.mcgill.ca
> To: soot-list at sable.mcgill.ca
> Subject: Re: [Soot-list] JimpleLocal - Local Variable or was generated by Soot?
> 
> On 06/02/11 08:48, Vasco Pessanha wrote:
> > Hello,
> >
> > How can I know if a given JimpleLocal was generated by Soot or consists
> > in a local variable of the method. Is it even possible?
> > For example, if we have the source line "Main t = new Main();" we would
> > generate something like:
> >
> > "$r0 = new testes.deptest.Main;
> > specialinvoke $r0.<testes.deptest.Main: void <init>()>();
> > t = $r0;"
> >
> > How can I know that "t" is a method's local variable and $r0 was
> > generated by Soot?
> 
> The leading $ is a good hint (although not foolproof).
> 
> pat
> 
> _______________________________________________
> 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/20110602/bd56efdc/attachment.html 


More information about the Soot-list mailing list