[Soot-list] Exception in transformation

Quentin Sabah quentin.sabah at inria.fr
Mon May 27 04:32:22 EDT 2013


Hi,

On 05/26/2013 03:08 PM, Zeinab Lashkaripour wrote:
> Although I have used the command to give me the original variable names
> but the chain that I have does not contain the original names. Is there
> some thing that I have missed?

Try to compile the analyzed bytecode with the -g option to include debug 
info.

> On the other hand I get the exception below while the transformations
> are getting written. It should be mentioned that when I checked
> "class.jimple" the last part that was written inside code was related to
> a method that I have not transformed it therefore its odd!!
> (If this exception happened in one of the methods that I have
> transformed I would know what to do but, in this case I don't)

The exception you get usually appears because an IdentityStmt is located 
after a non-IdentityStmt in the method body. All the IdentityStmt should 
be packed at the beginning of the body.
Can you find-out which method is problematic in class.jimple and output 
every Unit in the associated Body ? So that we can examinate the code.

Regards.


-- 
Quentin Sabah, CIFRE Ph.D. student
Grenoble University
INRIA-SPADES                   | STMicroelectronics/AST
Montbonnot, France             | Grenoble, France
mailto:quentin.sabah at inria.fr  | mailto:quentin.sabah at st.com
phone: +33 476 61 54 57        | phone: +33 476 58 44 14


More information about the Soot-list mailing list