OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

cflow-1.8

analyze C source files and print a call graph

Back to search · Project homepage

Description

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. The package also provides Emacs major mode for examining the produced flowcharts in Emacs. Note: this program is written in C and is not the same as cflow-2.x which is a bash script using a lex and yacc generated parser.

Package information

Ports path
devel/cflow
Package architecture
amd64
Maintainer
Benoit Lecocq <benoit@openbsd.org>
Categories
devel
Available flavors
None listed

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

Used by (2 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON