[Soot-list] Jimple Code cleaned for redundant variables

John Dee jdsoot at hotmail.com
Thu Jul 7 10:37:38 EDT 2011


Hi there. 
I read in the 'Soot Survivors Guide' that Jimple code is 'cleaned for redundant code, like unused variables or assignments' (on page 9). 
Supposing I have 
public class Foo {   private int x;   private int y;
   public Foo() {      y = 10;   }
   public void fooBar() {      int j = ++y;      System.out.println("J is " + j);   }}
Does this mean that the variable 'x', since it is unused or uninitialised, it will not be accessible fromthe Jimple code?
Many thanks indeed,JD 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20110707/87e6d86a/attachment.html 


More information about the Soot-list mailing list