cflow

Generate call graphs from C code to visualize function dependencies

brewmacoslinux
Try with needOr install directly
Source

About

Generate call graphs from C code

Commands

cflow

Examples

Generate a call graph for a single C file$ cflow program.c
Generate call graph for multiple files with tree output$ cflow -T *.c
Generate reverse call graph showing who calls each function$ cflow -r program.c