fnplot generates a graphviz output file (.dot) for a given function. The output displays the callers and/or callees of the specified function.
To create a cscope database you will need cscope, which can be obtained here: http://cscope.sourceforge.net/
To generate a graph from the output of fnplot, you will need graphviz: http://www.graphviz.org/
Run `make'
To build a cscope database run cscope with the '-b' option. Also, fnplot does not support compressed cscope databases, so specify '-c' when building the cscope database" For example: cscope -c -b *.c
The latter command will search all .c files in your current working directory and produce a cscope.out file. That file, the cscope.out, is the cscope database that fnplot takes as input.
The cscope parsing functionality originated from my other project: https://github.com/enferex/coogle
Matt Davis (enferex) mattdavis9@gmail.com