[Soot-list] How to capture method call?

Will Benton willb at cs.wisc.edu
Wed Apr 2 23:49:03 EDT 2008


On Apr 2, 2008, at 10:17 PM, Alvin Yan wrote:

> I want to go through a method body to capture all method calls like  
> invokestatic, invokevirtual, invokespecial etc.

Hi Alvin,

For this application, you might want to look at the  
containsInvokeExpr() and getInvokeExpr() methods in Stmt; these will  
probably make your code cleaner.


best,
wb

---
Will Benton <willb at cs.wisc.edu>
http://pages.cs.wisc.edu/~willb/



More information about the Soot-list mailing list