[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-cflow] Some doubts abotu CFlow
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-cflow] Some doubts abotu CFlow |
Date: |
Tue, 23 Aug 2016 14:36:17 +0300 |
Hi Leonardo,
> 1 - I want to build one callgraph(CG), but I need to pass a lot of files as
> parameter to build a CG more precise. And sometimes the main function
> name(that is not "main") appears in multiple files.
> Is there a way to specify the file where the main function is?
> Eg. cflow --main=FILE.main
No, there is not. A valid C program can have only one entry function.
If the source files represent multiple programs, split them into sets
for each program and invoke cflow for each set (as described in the
docs).
Regards,
Sergey