<div dir="ltr">Xinxin,<div><br></div><div>In order to do that you need to get the right hand side of the assignment statement and check whether it has soot.jimple.InstanceOfExpr type.</div><div><br></div><div>Elena</div>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 3:31 PM, Xinxin Jin <span dir="ltr"><<a href="mailto:xinxinjin89@gmail.com" target="_blank">xinxinjin89@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi all,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">How to identify a statement with "instanceof" operator please ?<br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">For example: </div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">source: </span><font face="monospace, monospace">if (e instanceof TimeoutError)</font></div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">jimple: </span><font face="monospace, monospace">$z0 = $r1 instanceof com.android.volley.TimeoutError</font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I cannot find the corresponding stmt type in Soot. Anyone can help me ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks a lot !<span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Xinxin</font></div>
<br></font></span></div><div><br></div>
</div>
<br>_______________________________________________<br>
Soot-list mailing list<br>
<a href="mailto:Soot-list@CS.McGill.CA">Soot-list@CS.McGill.CA</a><br>
<a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list" target="_blank">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br>
<br></blockquote></div><br></div>