bug-cflow
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-cflow] static function calls not being produced unless explicit


From: Sergey Poznyakoff
Subject: Re: [bug-cflow] static function calls not being produced unless explicitly called
Date: Tue, 21 Aug 2007 11:33:49 +0300

Josiah Carlson (NIM) <address@hidden> ha escrit:

> I have recently started using cflow, and I have noticed that it doesn't
> produce static definition results in the call graph unless they are
> explicitly called by a non-static function.

It does not list any function (be it static or global), unless its
invocation can be traced up to main function (either `main' or whatever
given with the `--main' command line option). 

> Personally, I want to see all static functions in the output.  I have
> worked around it by temporarily removing the static portion of the
> declaration,

Removing the static qualifier in your example does not change anything
(if it does, then it is a bug). The only thing that matters is whether
`foo' is called from `main' or not.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]