The tool can be found here.
To use:
-
Place the file in the directory created by
apktool(apktool d file.apk).
-
Run the python script giving it the name of the function
you want to see a call graph for.
-
Study the pdf created...
-
For help, or more features, run the tool with -h
(./make_tree.py -h)
Example:
./make_tree.py "Luk/me/jstott/coordconv/LatitudeLongitude;->getLatitude()D"
creats the following graph (click to zoom in)
Notes:
-
The script assumes you have the program "dot" installed.
-
The script tries to make a dot file as well as the pdf.
-
You may need to make the script executable.(chmod +x make_tree.py)
-
I welcome any feedback to improve the usability or functionality
of the script.
Homepage