<div dir="ltr">I am novice in Soot and Java. I want to did some analysis on methods' call. One of the requirements is to trace the data flow of methods parameters.<div><br></div><div>In detail, I use the following code to iterate the units in an active body:</div><div><br></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> PatchingChain<Unit> <span style="color:#7e504f">unit_chain</span> = <span style="color:#7e504f">body</span>.getUnits();</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> Iterator<Unit> <span style="color:#7e504f">unitIter</span> = <span style="color:#7e504f">unit_chain</span>.iterator();<span class="sewq9m83bypsy52"></span><span class="sewqzb5a3wkpow0"></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"><br></p>When I comes to a method call (InvokeExpr), I want to trace back its parameter. Now I need to reverse iterate the unit_chain from current unit. But I didn't find the reverse_iterator in Soot. What should I do with this situation?<br><br>Hope for your help!<br><br>Sincerely,<br><br>Sep</div></div>