A command line utility producing a call graph on function/file/folder level from a cscope.out file. Based on cscope. Previous work is from solomonhuang. Everything is just hacked together.
- install cscope
sudo apt install cscope
- if you want to generate an image from the .dot output, install graphviz
sudo apt install graphviz
- create a virtual environment
- install the requirements
- use cscope to create a cscope.out file or adapt and use
folder_to_cscope.sh <path-to-sources>
to collect files - activate the venv
- execute cscope_to_view.sh <call|file|folder>