[Soot-list] Use/def information
Eric Bodden
eric.bodden at mail.mcgill.ca
Thu Dec 14 10:07:28 EST 2006
A Stmt implements Unit
(http://www.sable.mcgill.ca/soot/doc/soot/Unit.html) which has methods
getDefBoxes() and getUseBoxes(). You can iterate over those boxes and
retrieve the value inside the box using getValue().
Eric
> -----Original Message-----
> From: soot-list-bounces at sable.mcgill.ca [mailto:soot-list-
> bounces at sable.mcgill.ca] On Behalf Of
Toth.Gabriella.2 at stud.u-szeged.hu
> Sent: Wednesday, December 13, 2006 8:37 AM
> To: soot-list at sable.mcgill.ca
> Subject: [Soot-list] Use/def information
>
> Hi!
> I would like to retrieve the variables from a Stmt which variables are
> used or defined in the statement.
> How could I them from a Stmt?
>
> Thanks
> Gabi
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
More information about the Soot-list
mailing list