<div dir="ltr">I am newbie in Soot. I am quite confused with UseBox and DefBox. In Soot Survivors Guide, it says "<span class="sewmgxxb6v86h78"></span>Through a Unit we can retrieve values used (getUseBoxes()), values defined (getDefBoxes()) or even both (getUseAndDefBoxes()).  ". <div><br></div>And in "Analyzing Java Programs with Soot", it present an example for getUseBoxes() and <span class="sewmgxxb6v86h78"></span>getDefBoxes() as follows:<div><br></div><div>For an unit : x =y op z; </div><div>getUseBoxes() returns {y, z, y op z}<span class="sewmgxxb6v86h78"></span></div><div>getDefBoxes() returns {x}<span class="sewrimz351s2jrw"></span><span class="sewmgxxb6v86h78"></span><br></div><div><br></div><div>But I could also get this information by getting the LeftOp and RightOp of this AssignStmt.</div><div><br></div><div>So, what is the meaning of  UseBox and DefBox?<span class="sewrimz351s2jrw"></span><span class="sewmgxxb6v86h78"></span></div><div><br></div><div>Hope for your help.</div><div><br></div><div>Sincerely,</div><div>Sep</div></div>