drich@klaatu.lanl.gov (David O. Rich) (05/16/91)
Check out Mark Kantrowitz's "xref" stuff... Here's a little blurb... [[Thanks Mark!]] ;;; When you change a function or variable definition, it can be useful ;;; to know its callers, in order to update each of them to the new ;;; definition. Similarly, having a graphic display of the structure ;;; (e.g., call graph) of a program can help make undocumented code more ;;; understandable. This static code analyzer facilitates both capabilities. ;;; The database compiled by xref is suitable for viewing by a graphical ;;; browser. (Note: the reference graph is not necessarily a DAG. Since many ;;; graphical browsers assume a DAG, this will lead to infinite loops. ;;; Some code which is useful in working around this problem is included, ;;; as well as a sample text-indenting outliner and an interface to Bates' ;;; PSGraph Postscript Graphing facility.) ;;; ;;; The current version of this software and a variety of related ;;; utilities may be obtained by anonymous ftp from a.gp.cs.cmu.edu ;;; (128.2.242.7) in the directory /usr/mkant/Public/ (you must cd to this ;;; directory in one fell swoop, as you do not have access to intermediate ;;; directories). Also, here's a little teaser from Sun... Date: Wed, 15 May 91 16:39:16 PDT From: Bil.Lewis@Eng.Sun.COM (Bil Lewis) Message-Id: <9105152339.AA08048@mandera.Eng.Sun.COM> To: drich@klaatu.lanl.gov (David O. Rich) Subject: graphically displaying call-tree information... David, Yep. It's in the upcoming version of our Symbolic Programming Environment (SPE 2.0), and it's a killer. A ``goodie'' version is included with SPE 1.2. Not quite so pretty, but quite functional. You DO use the SPE, don't you? :-) -Bil