[comp.windows.x] C code analysis tool wanted

safron@aix.aix.kingston.ibm.com (Sean S. Safron) (12/12/90)

I am looking for some C code analysis tools that will allow users to more
easily understand a C program's structure and flow.  

I have looked at the standard UNIX tool, cflow, and it does not completely
meet my needs.  I would like to find some kind of graphical front end to
cflow that would run in X-Windows and show a tree structure of the function
calls in a C program.

Another tool that I have used is C-Scope from AT&T.  This tool allows the 
user to find out things like which functions call which other functions.
This allows one to check the flow of a C program rather quickly, however, 
its limitation is that it does not show more than one level of function 
calls at a time.  The user must step through each level one by one to get
down to the lowest level functions.  I am looking for either an extension
to C-Scope or something similar that allows a user to browse the full tree
of function calls more easily.
 
Finally, if there are any other C code analysis tools that anyone has found
useful, please let me know.

--
 Sean S. Safron  IBM Corp.                    uunet!ibmps2!aix!safron 
"Any sufficiently advanced technology is indistinguishable from magic."

lcp@ibism.UUCP (Larry Poleshuck) (12/18/90)

In article <4929@aix.aix.kingston.ibm.com>, safron@aix.aix.kingston.ibm.com (Sean S. Safron) writes:
> 
> I am looking for some C code analysis tools that will allow users to more
> easily understand a C program's structure and flow.  
> 
.
.

> Finally, if there are any other C code analysis tools that anyone has found
> useful, please let me know.
> 
> --
>  Sean S. Safron  IBM Corp.                    uunet!ibmps2!aix!safron 
> "Any sufficiently advanced technology is indistinguishable from magic."

The best X based development tools I have seen is the Brown University 
"field".   field includes an integrated toolset including debuggers, editors, graphical data viewer, flowview analyzer, make interface, cross-reference utility and for C++, a class browers.  All of the utilities are dynamically linked on a message bus and respond to each other's actions.  You can contact their software librarian for more information:
bwe@cs.brown.edu

-- 

Larry Poleshuck
Citibank
111 Wall Street
New York, NY  10043

Phone:  212-657-7709
Fax:    212-825-8607
E-Mail: uunet!ibism!lcp