[Soot-list] looking at the fields

daniela antonova daniela.antonova at gmail.com
Wed Jan 26 09:51:15 EST 2011


Hi,

I would like to track the values which are ever saved in a field.
For example, in the following class I would like to be able to find
that at the end of the program list contains var1 and var2.

class A {
      private List list;

      public static void main(String[] args) {
              String val1 = "Blablabla";
              String val2 = "jibberish";

              list.add(val1);
              list.add(val2);
      }
}

I apologise if this question is stupid, but I am still trying to
educate myself on static analysis.

Thanks a lot!!!!!
Daniela


More information about the Soot-list mailing list