Skip to content
Advertisement

how to give more than one c file as input to GNU Cflow?

I was able to generate the callgraph of one file using gnu – cflow, but I was not able to find out how to generate the call graph for multiple files using cflow.

I tried following

  • cflow test.c,hello.c

    It generates the callgraph for test.c and not creating it for hello.c

  • cflow test.c hello.c

    It generates the callgraph for hello.c and not creating it for test.c

I don’t know how to pass multiple files to cflow.

Any idea about this?

hello.c

JavaScript

test.c

JavaScript

Advertisement

Answer

  • cflow test.c hello.c

Actually above statement is correct and tests() does not show up in callgraph, because it is never called.

answer given by @AndreasGrapentin

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement