I’m working on a project where we need to convert Jimple to our own intermediate language. I’ve been having some trouble understanding how to utilize the Jimple parser to do that. One of the things I’ve been looking at is soot.jimple.parser.Parse class, but when run it on sample .jimple files, I keep getting java.lang.NullPointerException in one of the methods in the soot.jimple.parser.Walker class. Is there something I’m doing wrong? Is looking at the Parse class a good starting place to look at in order to traverse and manipulate the Jimple AST? Can anyone point me somewhere where I can read more about traversing/changing the Jimple AST?
Thanks, Anshuman |