[Soot-list] [Soot] points to analysis-get rid of system defined methods
Steven Arzt
Steven.Arzt at cased.de
Wed Jun 17 12:18:57 EDT 2015
Hi Chris,
You need to construct a callgraph and iterate over the outgoing edges on the respective call site. For each callee, you can then check if the defining class of that particular callee is an application class (i.e., not a library class).
Best regards,
Steven
Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von TANG, Yutian Chris
Gesendet: Mittwoch, 17. Juni 2015 11:07
An: Soot list
Betreff: [Soot-list] [Soot] points to analysis-get rid of system defined methods
Hi guys:
I use Soot to provide points-to analysis. When coping with InvokeExpr, a normal case is that the method is pre-defined in Java. That is,
Body b = invoke.getMethod().retrieveActiveBody(); //here, it may invoke a system-defined method.
So, how to get rid of that influence, if i merely concern the application methods/classes?
Thanks
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150617/81932133/attachment.html
More information about the Soot-list
mailing list