cflow

Analyze control flow in C source files

Install

All systems
curl cmd.cat/cflow.sh
Debian Debian
apt-get install cflow
Ubuntu
apt-get install cflow
image/svg+xml Kali Linux
apt-get install cflow
Fedora
dnf install cflow
Windows (WSL2)
sudo apt-get update sudo apt-get install cflow
OS X
brew install cflow
Raspbian
apt-get install cflow

cflow

Analyze control flow in C source files

GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program. GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally a cross-reference listing can be generated. Two output formats are implemented: POSIX and GNU (extended). Input files can optionally be preprocessed before analyzing.