[Soot-list] [Help]: Definition Use Analysis
Patrick Lam
plam at sable.mcgill.ca
Mon Aug 27 13:34:14 EDT 2012
On 08/27/12 13:32, Pauline Anthonysamy wrote:
> Hello Everyone,
>
> Could someone please give me some pointers on how can I go about
> implementing Definition-Use analysis with Soot? I wish to code something
> that will return a def-use chain for a method (for example).
Hi Pauline,
Soot automatically computes du chains internally, and does so a number
of times. See, for instance:
http://www.sable.mcgill.ca/soot/doc/soot/toolkits/scalar/SmartLocalDefs.html
http://www.sable.mcgill.ca/soot/doc/soot/toolkits/scalar/CombinedDUAnalysis.html
I'm not quite sure what you're trying to do, though. What do you mean by
returning a def-use chain for a method?
pat
More information about the Soot-list
mailing list