[Soot-list] Assignment of return value of a function

Bernhard Berger berber at tzi.de
Sun Oct 16 09:12:25 EDT 2016


Hi,

the body of a method contains Stmts. In your case there will be an AssignStmt. With the help of the methods getLeftOp and getRightOp you get the LHS or RHS.

Regards, Bernhard
> Am 16.10.2016 um 12:58 schrieb Ridhi Jain <ridhij at iiitd.ac.in>:
> 
> Hi 
> 
> How can I get the LHS(definition box) value of a statement if RHS is an invoke statement.
> 
> Like: x in x=foo(p,q);
> 
> -- 
> Thanks and Regards
> Ridhi Jain
> PhD (CSE)
> IIITD
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list



More information about the Soot-list mailing list