[gnu.misc.discuss] Need an ANSI C flow tool.

herndon@sctc.com (William R. Herndon) (06/06/90)

    I have need of a fairly robust flow tool that will produce call structure
    graphs or trees.  I am currently using cflow but am having a number of
    problems.  First, cflow often fails to resolve obvious references to 
    functions, supplying neither the file in which the function is found or
    its return type.  Second, since cflow seems to require CPP from the old
    portable C compiler ( and does not appear to be able to use any other 
    preprocessor ), ANSI C code often causes ungraceful terminations of the 
    cflow because CPP cannot handle some of the syntactical constructs.

    The tool need not generate references to external variables, although 
    that would be nice, but it must do a complete job on the call structure.
    I need to know files, line-numbers, call depths, and subordinate routines.

    If a cflow like tool is produced by the GNU people, it would be ideal,
    since our code is currently written to compile under GCC.  However, I 
    haven't heard of such a tool.  Failing this, any other pointers to tools
    similar to cflow would be helpful.

    Any suggestions?   Thanks in advance.


								- Max

-------------------------------------------------------------------------------
William R. Herndon                               herndon@sctc.com

Secure Computing Technology Corp.                1210 W. County Road E #100
                                                 Arden Hills, Mn. 55112
                                                 (612) 482-7431


  The opinions expressed are solely those of the author.  Any resemblance
     to other opinions, either living or dead, is purely coincidental.