Web Development

General discussion


c flow graph

By anas ·
what does the cflow command in unix do and how does it do what it is supposed to do? pl. give me an example also

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

c flow graph

by dineshr In reply to c flow graph

Cflow is a handy development tool, which gives a transitive relation of each symbols referenced in a particular program. in the sense, for every function/variable a particular function uses, u get the information like where it is declared and whats the type.

heres, the example from CFLOW man pages :
int i;
i = h();

the command:

cflow -ix file.c
produces the output
1 main: int(), <file.c 4>
2 f: int(), <file.c 11>
3 h: <>
4 i: int, <file.c 1>
5 g: <>

Related Discussions

Related Forums