Cflow is a project mainly written in PERL and C, it's free.
generate a C-language flowgraph using lint for OpenBSD