[Soot-list] dollar sing prefix to variables. Do you need it or not?

Paris Yiapanis yiapanip at cs.man.ac.uk
Fri Jun 25 05:23:06 EDT 2010


Hi all,

I am not sure what the dollar sign in front of variables means.
For me it looks like the locals with the dollar sign are like references to
fields and the ones without it are like method local variables.
However when I try to produce Jimple in general, even if I am pointing to
fields, all the local variables I generate do not have the dollar sign.
Does that make any difference?

or for instance if $r6 and $r5 are instance field arrays an assignment (of
$r6 to $r5) looks like that:

$i1 = $r6[i0];
$r5[i0] = $i1;

whereas an assignment of local arrays does not have the dollar signs?

So, is there any difference if the dollar sign is there or not? or could you
have all variables without the dollar sign and just depend on their
definition for whatever type they will be assigned?

Thank you in advance,

Paris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100625/6726d2b3/attachment.html 


More information about the Soot-list mailing list