[Soot-list] CallGraph Analysing

Abdejalil SETH shait.abdeljalil at gmail.com
Fri Apr 12 05:23:11 EDT 2013


import java.lang.reflect.Field;

public class FieldAccessible {

  public static class MyClass {

      private String theField;

  }

  public static void main(String[] args) throws Exception {

      MyClass myClass = new MyClass();

      Field field1 = myClass.getClass().getDeclaredField("theField");

      field1.setAccessible(true);

      System.out.println(field1.get(myClass));

  }

}

I would create a call graph using soot to analyse the following :




   -

   To search for the *setaccessible(true)* node , and then get the path of
   the this node
   -

   for example : *getField.C01.library00*



Thank you in advance,

I'd be really grateful.

Jalilos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130412/835b8f45/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: callgraph.png
Type: image/png
Size: 11218 bytes
Desc: not available
Url : http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130412/835b8f45/attachment-0001.png 


More information about the Soot-list mailing list