[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

code walkers or inverse who-calls

Is there anyway to generate a call tree (graph) for a function?  I certainly
realize that I could read through the source code and generate a database;
however, the compiled code represents a ready database if only I could figure
out how to access the compiled code to find all the functional objects.

I do realize the metering system generates a call tree as it meters a
function; however, that requires invoking the function (which is not terrible
but it would be nice to generate the tree without having to successfully
execute down through all branches).

I also realize that I could map over the functional symbols in a package, use
the who calls database to see who calls them, and create an inverted database;
however, that sounds like overkill for just showing the call tree for a
specific function.

Don Mitchell			dmitchell@trc.amoco.com
Amoco Production Company	(918) 660-4270
Tulsa Research Center
P.O. Box 3385, Tulsa, OK 74102