[Soot-list] Dependency between instance variable and instance method of single class.

Utsav Chokshi uvc.smart.29 at gmail.com
Thu Mar 6 02:20:54 EST 2014


Hello soot-community,
Is there any way of determining dependency between instance variable and
instance method of single class.

Example Code :
public class Foo{
   private into x;

   public foo(){ x=1;}
   public setX(){ x=2;}

   public void doFoo(){
        x++;
   }
}

What I am looking for is, say given method doFoo() and given instance var.
x , determine on which methods it is dependent over ?

In short, linking def-uses of instance variable ?
According to my observation, heros reaching definition doesn't provide this
kind of dependency.
- Utsav Chokshi
[ Intern ,TCS Innovation Labs , Pune, India]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20140306/c3bdcce5/attachment.html 


More information about the Soot-list mailing list