[Soot-list] Soot variable representation

Bodden, Eric eric.bodden at sit.fraunhofer.de
Wed Apr 22 03:24:52 EDT 2015


… almost.

$ means it did not use to be a variable in source code. It’s an artificial variable representing a stack location. No $ means it was a “real” local variable.

Eric

> On 22.04.2015, at 04:17, Haipeng Cai <hcai at nd.edu> wrote:
> 
> Xinxin,
> 
> It is my understanding that $ means the variable is on the stack and being without it means it is on the heap.
> 
> On Tue, Apr 21, 2015 at 10:00 PM, Xinxin Jin <xinxinjin89 at gmail.com> wrote:
> Soot variables sometimes has a "$" prefix but sometimes not. What is the difference between "r0" and "$r0" ?
> 
> Example:
> r11 = new com.example.android.Test;
> $r3 = r11;
> 
> Thanks very much.
> 
> 
> --
> Xinxin
> 
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> 
> 
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150422/b84d63de/attachment.bin 


More information about the Soot-list mailing list