[Soot-list] How to get the base of an InvokeExpr?

周书林 zhoushulin1992 at gmail.com
Thu Jun 28 05:00:20 EDT 2018


Hello everyone,
 I am new in Soot. In my experiment,  I want to get the information of an
InvokeExpr, including its base argument and method arguments.

For instance, for the following InvokeExpr, I want to get the argument "
*$r10*" and "*r1*", but I can only get the "*r1*" with API "getArg(int
index)". There is no API "getBase()" in InvokeExpr to get the "*$r10*".

*        $r11 = virtualinvoke $r10.<java.lang.StringBuilder:
java.lang.StringBuilder append(java.lang.String)>(r1);*

So, Could you please guide me how to get the base of an InvokeExpr?

Thank you very much,
Sincerely.

Sep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20180628/95dd8432/attachment.html>


More information about the Soot-list mailing list