[Soot-list] Exception in transformation

Zeinab Lashkaripour lashkaripour at yahoo.com
Sun May 26 09:08:52 EDT 2013


Hi,

Has any one had similar problems and therefore found a solution for it?
They seem odd so there might be some thing that I have missed and I would be happy if any one could guide me.


Regards



________________________________
 From: Zeinab Lashkaripour <lashkaripour at yahoo.com>
To: "soot-list at sable.mcgill.ca" <soot-list at sable.mcgill.ca> 
Sent: Friday, May 24, 2013 9:48 PM
Subject: [Soot-list] Exception in transformation
 


Hi every one,

I have two problems regarding source code transformation that I would be grateful if any one could help me.

The command line I use is as below:
    "-p", "tag.ln", "enabled", "-keep-line-number", "-cp", "......",
    "-f", "jimple", "--app",  "-process-dir", "....", "-p", "jb", "use-original-names:true"

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?


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)

......
......

Writing to sootOutput\class.jimple
Exception in thread "main" java.lang.RuntimeException: @param-assignment statements should precede all non-identity statements
    at
 soot.jimple.JimpleBody.validateIdentityStatements(JimpleBody.java:101)
    at soot.jimple.JimpleBody.validate(JimpleBody.java:67)
   
 at soot.Printer.printTo(Printer.java:322)
    at soot.Printer.printTo(Printer.java:221)
    at soot.PackManager.writeClass(PackManager.java:896)
    at soot.PackManager.writeOutput(PackManager.java:475)
    at soot.PackManager.writeOutput(PackManager.java:400)
    at soot.Main.run(Main.java:199)
    at soot.Main.main(Main.java:141)
    at MyMain.main(MyMain.java:69)

Regards,
Zeinab
_______________________________________________
Soot-list mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130526/b7f1a086/attachment.html 


More information about the Soot-list mailing list