How to generate call graph from android APK?

前端 未结 1 1094
感情败类
感情败类 2021-02-10 01:34

I have downloaded a few Android applications from Google Play. I have got Smali code through reverse engineering tool apktool .I want to generate call

1条回答
  •  梦谈多话
    2021-02-10 02:35

    apkinspector - http://code.google.com/p/apkinspector/

    The goal of this project is to aide analysts and reverse engineers to visualize compiled Android packages and their corresponding DEX code. APKInspector provides both analysis functions and graphic features for the users to gain deep insight into the malicious apps:

    • CFG
    • Call Graph
    • Static Instrumentation
    • Permission Analysis
    • Dalvik codes
    • Smali codes
    • Java codes
    • APK Information

    I've tried to install apkinspector in my computer (Debian 6.0):

    sudo aptitude install libxext-dev
    source compile python-qt and python-sip
    
    http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.9.4/
    
    sudo aptitude install python-tk
    
    easy_install ipython
    (sudo aptitude install python-pip & sudo pip install ipython)
    
    vi androguard/androlyze.py
    change "import IPython.ipapi" to "import IPython.core.ipapi"
    change "from IPython import IPShellEmbed" to "import IPython"
    change "IPShellEmbed" to "IPython.embed"
    

    But unfortunately it cannot be used!!!

    thus I tried to write my own tool using Ruby, which can be found in here

    0 讨论(0)
提交回复
热议问题