[Soot-list] relevance analysis

Mohammad Ghafari ghafari.ir at gmail.com
Sun May 4 07:15:23 EDT 2014


Hello everybody,

I want to find if two methods are related, i.e., they read from/write to
the same field. For example:

 List<String> col = new ArrayList<String>();

 Method1(){
  col.put("item");
 }

 Method2(){
  col.get();
 }

Intuitively, these two methods are related because the first method write
to a list from which the second method reads. However, as we don't have the
source code of java libraries like List, how can I use Soot to know
that col.put()
writes to col while col.get() reads from this list?

Thnaks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140504/97f099b5/attachment.html 


More information about the Soot-list mailing list