Browse Prior Art Database

Function Cross Reference Utility

IP.com Disclosure Number: IPCOM000104219D
Original Publication Date: 1993-Mar-01
Included in the Prior Art Database: 2005-Mar-18
Document File: 2 page(s) / 62K

Publishing Venue

IBM

Related People

Johnson, WJ: AUTHOR [+2]

Abstract

A successful programming project involves the successful management of source modules and header files. As projects become large, the task of managing function calls within numerous source code files may become overwhelming. A programmer typically issues a long series of search commands to isolate a single function call and determine its meaning. This method is inefficient and extremely time-consuming.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Function Cross Reference Utility

      A successful programming project involves the successful
management of source modules and header files.  As projects become
large, the task of managing function calls within numerous source
code files may become overwhelming.  A programmer typically issues a
long series of search commands to isolate a single function call and
determine its meaning.  This method is inefficient and extremely
time-consuming.

      This article describes a new programming utility.  A set of
source files is analyzed and then graphically displayed to the
programmer.

      The cross-reference utility may be used in both the design and
development stage of a programming project.  This utility is a
windowed application that is composed of two parts: a logic kernel
and a graphical user interface (GUI).  Both parts are contained in a
single EXE file that is run from the command line.

      The GUI allows the programmer to define a set of source files
onscreen.  A standard "open dialog" allows the user to navigate
through the disk directory and select source files from a listbox.
Once the set is defined, a menu command or accelerator key invokes
the logic kernel over the modules.

      The logic kernel then retrieves and analyzes the specified
files.  This part of the utility is essentially a compiler which
determines hierarchical calling sequences between source modules.  A
binary output file is produced which records these relationships in
an internal format.

      The GUI is then used to graphically display the contents of the
binary file.  Each function call is listed in the client area of the
cross reference Utility Window:

+-+----------------------------------+-+-+
|-|  Function Call Cross Reference   |V|A| <--- Title Bar
+-+----------------------------------+-+-+
|File  Help                              | <--- Menu
+--------------------------------------+-+
| (+) main                      DROP.C |A|
|  |                                   +-+
| (+) AbortDrop                 DROP.C | | <--- Client area
|  |                                   | |
| (+) WindowProc                DROP.C | |      (list of
|                                      | |       functions in
|                                      | |       the source file
|                                      +-+       set)
|                                      |V|
+--------------------------------------+-+

The l...