<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Dear Sir or Madam,</div>
<div> </div>
<div>i have to use the manual instrumentation function of Soot via java code. There are two problems, which i can´t solve: the constructor of "JStaticInvokeExpr" needs 2 parameter:</div>
<div><strong>-a "SootMethodRef": where can i get this from? </strong>its just a interface and there is no class called "soot.SootMethodRefImpl" (i backtracked my jimple code and one "JStaticInvokeExpr" instance had a parameter with this class)</div>
<div><strong>-a List of Values: first should be in my case a this reference- how can i access a this reference dynamically?? </strong>"soot.jimple.This.Ref" constructor needs "RefType" as input and "RefType" constructor needs "Singletons.Global" as input. Something like "ThisRef thiss=new ThisRef(new RefType(Singletons.Global));" doesn´t work.</div>
<div> </div>
<div>Yours sincerely,</div>
<div> </div>
<div>a desperated student</div></div></body></html>