Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site gsg.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!gsg!lew
From: lew@gsg.UUCP (Paul Lew)
Newsgroups: net.wanted.sources,net.lang.c
Subject: C function calling cross reference program needed
Message-ID: <84@gsg.UUCP>
Date: Fri, 20-Sep-85 10:17:36 EDT
Article-I.D.: gsg.84
Posted: Fri Sep 20 10:17:36 1985
Date-Received: Sun, 22-Sep-85 05:45:51 EDT
Organization: General Systems Group, Salem, NH
Lines: 45
Xref: watmath net.wanted.sources:1342 net.lang.c:6488

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
----------------------------------------------------------------------