[Soot-list] Get java code of a jimple local

qpj 412832527 at qq.com
Tue Jul 8 22:13:20 EDT 2014


Hi All,
To show my question clearly, I'd like take the following code as an example, in java code:
A a = getA();
a.f();
I need to get the invoker of f() is getA(). While in Jimple code, above code is transferred into:
A a = $r1;
$r1 = getA();
$r1.f();
When I get stmt $r1.f() and invoker $r1, I'd like to know the java source code of the invoker $r1, here obviously is getA(). My question is does Soot provide any API to get java source code of a Jimple local.‍
Any help will be appreciated.
Xiangxing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140709/838e254e/attachment.html 


More information about the Soot-list mailing list