Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 548 Bytes

cflow.md

File metadata and controls

27 lines (16 loc) · 548 Bytes

cflow

Make static call graphs.

GNU.

Not perfect nor ultra-powerful, but comes in handy when reading code.

https://en.wikipedia.org/wiki/GNU_cflow

http://www.gnu.org/software/cflow/

Usage:

cflow main.c

Sample output:

main() <int main () at main.c:49>:
    printA()
    printMain() <void printMain () at main.c:40>:
        printf()
    printf()

TODO C++ method? Does not seem to work.

TODO ignore #include / other files. Otherwise too much stdlib trash. -d may help... Can't even find a thread for that.