[Soot-list] Counting android API calls made in Jimple
Ben Westfield
ben.westfield at googlemail.com
Mon Jun 22 12:02:18 EDT 2015
Hi All,
I am looking to use Soot for analysis of android applications: counting
the number of calls each method makes to the android APIs (android.*). My
plan is to turn the apk files to .jimple then run soot on these to find any
such calls.
I have worked my way through both the GotoProfiler and the Android
examples. My question is: are there explicit Stmt classes to find android
API calls (similar to the GotoStmt in the profiler example)? The only
method I have come up with so far is to use
SootMethod.getSignature().contains("android.") to identify if an InvokeExpr
references an android API call.
Thanks for your help,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150622/529e7c7e/attachment-0001.html
More information about the Soot-list
mailing list