Call Graph construction

136 views
Skip to first unread message

jsmi.a...@gmail.com

unread,
Jun 6, 2013, 1:10:40 PM6/6/13
to andro...@googlegroups.com
Hi,

I just came across this tool. Excellent tool.

I am trying to understand how Androguard builds call graph of apps. 

I ran Androguard on more than 700 apps and found that it is able to cover more than 70% of methods in the main tree on an average. I wonder how does it handle abundant callbacks made by Android framework, such as onClick, onLocationChanged, etc. 

Jia Smith.

Aditya Nand

unread,
Feb 6, 2018, 1:51:15 PM2/6/18
to Androguard
Hi Jia Smith, 

Could you kindly guide me on how to construct a Static Function Call Graph(SFCG) of an Android App using Androguard. I suppose from your answer that you were able to get the call graph. The reason I need the code to generate SFCG is for my research project that I'm currently working on. 
I tried following this tutorial : 
                                      https://forensics.spreitzenbarth.de/2015/10/05/androguard-a-simple-step-by-step-guide/

and could get all the information except on how to generate SFCG. 

Thanking you in anticipation.

Regards,
Aditya Nand
3rd Undergradute Computer Engineering 
Netaji Subhas Institute of Technology, New Delhi, India

Sebastian Bachmann

unread,
Feb 8, 2018, 6:45:25 AM2/8/18
to Androguard
Hi!

You can use the Xrefs generated in the androguard.core.analysis.analysis.Analysis object.

hth!

Sebastian
Reply all
Reply to author
Forward
0 new messages