[Soot-list] Capturing object creation to build heap

Kenneth Tapsoba ktapsoba at uwm.edu
Wed Jul 2 11:09:59 EDT 2014


Is there a way to capture object creating in a program using SOOT?
For example in the following program I was to be able to know that i am creating a new class B when I run SOOT. This will allow me to insert into the heap object b with the value of its fields (x and y).

public class A {
 void process(){
   B b = new B();
   print(b.x);
  }
}

public class B {
  int x;
  int y;
  public B(){}
}



More information about the Soot-list mailing list