[Soot-list] one question about a mismatch between Jimple- and Java-representation

jiangfan shi jiangfan.shi at gmail.com
Sat Aug 20 00:23:28 EDT 2011


I see, it uses the pass-by-value for the parameter passing of a method call
in Java. Thanks.

jiangfan

On Fri, Aug 19, 2011 at 11:14 PM, jiangfan shi <jiangfan.shi at gmail.com>wrote:

>
>> I am not sure why you say "x" escapes from Method1. Do you think if
>> you print a.myint in the caller after Method1 returns, it will print 5
>> (i.e., the value that is assigned inside Method1)?
>>
>
> Yes, I think so.
>
> But I just tried with one example, I found "x" did not escapes from
> Method1. Could you please tell me why? Thanks a lot.
>
> jiangfan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20110819/fd4ae4ac/attachment.html 


More information about the Soot-list mailing list