[Soot-list] jimple parsed from class file

Kihong Heo khheo at ropas.snu.ac.kr
Sun Jan 13 23:57:46 EST 2013


Dear soot-list,

While using Soot, I have a strange problem.
Two same class files are parsed differently in two different machines.
Two machines have same versions of jre and jdk, and I use soot-2.5.0.

I put a part of IL from my own program. 
The syntax is not exact Jimple but very similar to that.

== from the first machine ==

$r5:org.apache.tools.ant.BuildException = new org.apache.tools.ant.BuildException
SpecialInvoke ($r5:org.apache.tools.ant.BuildException).org.apache.tools.ant.BuildException.<init>(java.lang.String,java.lang, ...)
throw $r5:org.apache.tools.ant.BuildException                                        


== from the second machine ==

tmpn$3:org.apache.tools.ant.BuildException = new org.apache.tools.ant.BuildException
SpecialInvoke (tmpn$3:org.apache.tools.ant.BuildException).org.apache.tools.ant.BuildException.<init>(java.lang.String,java.lang, ...)
tmp:java.lang.Throwable = (java.lang.Throwable)tmp$23505590:org.apache.tools.ant.BuildException
throw tmp:java.lang.Throwable


Two IL have different temp variable names (e.g. tmpn$3) and statements.

Does anyone know what the main causes are?

Cheers,
--
Kihong Heo



More information about the Soot-list mailing list