[Soot-list] How to capture method call?
Chris Pickett
chris.pickett at mail.mcgill.ca
Wed Apr 2 23:36:22 EDT 2008
That's it, just AssignStmt and InvokeStmt.
Chris
Alvin Yan wrote:
> Hi guys,
>
> I want to go through a method body to capture all method calls like
> invokestatic, invokevirtual, invokespecial etc.
>
> I currently use Jimple IR. I thought I could just use "if(unit
> instanceof InvokeStmt)" when I iterating over the unit chain.
>
> But there seems to be other Jimple statements such as JAssignStmt also
> contain invoke instructions.
>
> So my question is, should I stop using Jimple and switch to another IR
> so that I can capture method calls more easily or anybody could tell me
> how much more statements in Jimple could contain a method call?
>
> Thank you
>
> Alvin
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
More information about the Soot-list
mailing list