|Show functions in obj files? email@example.com (Dietmar Schroeder) (1996-08-30)|
|Re: Show functions in obj files? firstname.lastname@example.org (1996-09-15)|
|Extracting call graphs (Re: Show functions in obj files?) email@example.com (Eamonn McManus) (1996-09-22)|
|Re: Extracting call graphs (Re: Show functions in obj files?) firstname.lastname@example.org (1996-09-23)|
|From:||email@example.com (Niels Ull Jacobsen)|
|Date:||23 Sep 1996 21:20:06 -0400|
|Organization:||Department of Computer Science, U of Copenhagen|
Dietmar Schroeder <firstname.lastname@example.org> wrote:
>we are looking for a tool that could display all functions used in a
>c-program by examinating the gcc compiled obj files (inc. debug info).
email@example.com (Ronald F. Guilmette) wrote:
> On the other hand, if you want a _call graph_ of your C code (which I suspect
> that you do, given that fact that you said that you want a list of functions
> that are ``used'') then there ought to be _some_ tool out there somewhere
> which will do that for you, ...
I have written a small awk-script which will take the output from
cxref and generate and xvcg graph description file. It's not very
pretty, but if anyone is interested, I can mail it to them.
I weren't very succesful with it, however. For my program, the call
graph got very large and complex and not very useful. I could probably
have hand-edited it a bit to remove the most commonly called utility
functions to get a nicer picture, but I decided it wasn't worth the
Niels Ull Jacobsen, Dep. of CS, U of Copenhagen (firstname.lastname@example.org)
Roenne Alle 3 st.th, 2860 Soeborg, Denmark, tel. +45 39 66 39 86
Return to the
Search the comp.compilers archives again.