<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Dear Sir or Madam,</div>

<div>&nbsp;</div>

<div>i have to use the manual instrumentation function of Soot via java code. There are two problems, which i can&acute;t solve: the constructor of &quot;JStaticInvokeExpr&quot; needs 2 parameter:</div>

<div><strong>-a &quot;SootMethodRef&quot;: where can i get this from? </strong>its just a interface and there is no class called &quot;soot.SootMethodRefImpl&quot; (i backtracked my jimple code and one &quot;JStaticInvokeExpr&quot; 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>&quot;soot.jimple.This.Ref&quot; constructor needs &quot;RefType&quot; as input and &quot;RefType&quot; constructor needs &quot;Singletons.Global&quot; as input. Something like &quot;ThisRef thiss=new ThisRef(new RefType(Singletons.Global));&quot; doesn&acute;t work.</div>

<div>&nbsp;</div>

<div>Yours sincerely,</div>

<div>&nbsp;</div>

<div>a desperated student</div></div></body></html>