[Soot-list] Getting method call result.

Roman Petriev vvpiroman at gmail.com
Mon Feb 23 09:01:01 EST 2015


Hi!
I want to get result of method call. E.g.:

VirtualInvokeExpr vieSBLenght = Jimple.v().newVirtualInvokeExpr(
                        localStrBuilder,
                        Scene.v().getMethod("<java.lang.StringBuilder: int
length()>").makeRef());
InvokeStmt isSBLenght = Jimple.v().newInvokeStmt(vieSBLenght);

I want to get string builder length and use result in "if" expression.
How can i do it?

Thanks for any help.

Best regards,
Roman.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150223/26820f75/attachment.html 


More information about the Soot-list mailing list