C function calling cross reference program needed
Paul Lew
lew at gsg.UUCP
Sat Sep 21 00:17:36 AEST 1985
I need a C function cross reference program which will generate listing
contains: list of function name + file name and all the function it calls,
e.g.,
file: /usr/tom/abc.c contains:
main ()
{
dd = xyz ();
ee = zyx () + new (a, b);
}
file: /usr/lib/lib1.c contains: file: /usr/lib/lib2.c contains:
xyz () zyx ()
{ {
.... ....
} }
The output should be similar to the following:
main -- /usr/tom/abc.c
xyz -- /usr/lib/lib1.c
zyx -- /usr/lib/lib2.c
new --
xyz -- /usr/lib/lib1.c
printf --
zyx -- /usr/lib/lib2.c
fopen --
fclose --
fgets --
Of course you have to specify the name of source files as input to
this program in some way. Is there something like this around?
Please send mail directly. Thanks!!
--
----------------------------------------------------------------------
Paul S. Lew decvax!gsg!lew (UUCP)
General Systems Group
51 Main Street, Salem, NH 03079 (603) 893-1000
----------------------------------------------------------------------
More information about the Comp.lang.c
mailing list