🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #709

Need an ANSI C flow tool.

#709
From: William R. Herndon
Date: Wed, 06 Jun 1990 16:39
34 lines
2118 bytes
    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.
Technical Details
Message-ID: <1990Jun6.163924.11048@sctc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!umn-d-ub!cs.umn.edu!sctc.com!herndon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!umn-d-ub!cs.umn.edu!sctc.com!herndon
From: herndon@sctc.com (William R. Herndon)
Newsgroups: gnu.misc.discuss,comp.sources.wanted,comp.misc
Subject: Need an ANSI C flow tool.
Message-ID: <1990Jun6.163924.11048@sctc.com>
Date: 6 Jun 90 16:39:24 GMT
Distribution: gnu,comp
Organization: Secure Computing Technology Corporation
Lines: 34