Open cbruegg opened 5 years ago
@juliandolby from soot byte code front end non-static constructor takes an instance of the outerclass as parameter like this
specialinvoke $r3.<alreadywalaunittests.InnerClassAA$AA: void <init>(alreadywalaunittests.InnerClassAA)>(r0);
Is there a way to get this information from the wala source code front end? The only parameter availabe in the instruction was the this parameter.
Since WALA supports lexical scoping, we do not generate the various implicit parameters that Java bytecode uses to implement things like nested classes. We will need to decide how, in general, we want to handle lexical scoping in the new Soot. We need to keep in mind that languages like JavaScript require more complete support than does Java.
The following method:
is converted to the following Jimple code:
This fails the test
de.upb.soot.frontends.java.SelectedInstructionConversionTest#test3
.