[Soot-list] Exception in transformation
Zeinab Lashkaripour
lashkaripour at yahoo.com
Fri May 24 13:18:56 EDT 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130524/213a23f3/attachment-0001.html
More information about the Soot-list
mailing list