[Soot-list] Re: Soot-list Digest, Vol 24, Issue 2

Peng Li lipeng360 at gmail.com
Tue Apr 3 16:34:00 EDT 2007


>    How can i retrive the parameter of invoke stmt. for example
> for the statement, i4 = virtualinvoke r1.<java.lang.String: int
> compareTo(java.lang.String)>($r7) i want to get $r7.
The best way to find the information which u need is to use eclipse debug.

Cheers
Peng
2007/4/3, soot-list-request at sable.mcgill.ca <soot-list-request at sable.mcgill.ca>:
> Send Soot-list mailing list submissions to
>        soot-list at sable.mcgill.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> or, via email, send a message with subject or body 'help' to
>        soot-list-request at sable.mcgill.ca
>
> You can reach the person managing the list at
>        soot-list-owner at sable.mcgill.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Soot-list digest..."
>
>
> Today's Topics:
>
>   1. Invoke Stmt Help (John Chaitanya Kati)
>   2. Re: Invoke Stmt Help (Patrick LAM)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 Apr 2007 23:21:26 +0530 (IST)
> From: John Chaitanya Kati <johnkati at cse.iitb.ac.in>
> Subject: [Soot-list] Invoke Stmt Help
> To: Eric Bodden <eric.bodden at mail.mcgill.ca>
> Cc: Soot list <soot-list at sable.mcgill.ca>
> Message-ID: <Pine.LNX.4.61.0704022320010.9089 at nsl-99.cse.iitb.ac.in>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> Hi,
>    How can i retrive the parameter of invoke stmt. for example
> for the statement, i4 = virtualinvoke r1.<java.lang.String: int
> compareTo(java.lang.String)>($r7) i want to get $r7. can you please help.
> thanks for any help in advance.
>
>
>
>
>
> --
> Thanking you
> John Chaitanya
> Like a rose trampled on the ground, you took the fall and thought of me...
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 02 Apr 2007 13:54:22 -0400
> From: Patrick LAM <plam at cs.mcgill.ca>
> Subject: Re: [Soot-list] Invoke Stmt Help
> Cc: Soot list <soot-list at sable.mcgill.ca>
> Message-ID: <4611434E.7040503 at cs.mcgill.ca>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> John Chaitanya Kati wrote:
>  > Hi,
>  >    How can i retrive the parameter of invoke stmt. for example
>  > for the statement, i4 = virtualinvoke r1.<java.lang.String: int
> compareTo(java.lang.String)>($r7) i want to get $r7. can you please
> help. thanks for any help in advance.
>
> Get the InvokeExpr from the Stmt (in fact it will be an AssignStmt and
> not an InvokeStmt) and then call getArgs() on the InvokeExpr.
>
> pat
>
>
> ------------------------------
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
>
> End of Soot-list Digest, Vol 24, Issue 2
> ****************************************
>


More information about the Soot-list mailing list