"> Implementation -- Program List

Implementation--
Program List and Entries


The Program List holds the static information of the test programs except the Symbol Table. There is one program list entry for each test program. The program list entry holds the assigned program number, the number of lines of code, the program's Flow Control List, the program's Slice List and a Slicer. Each entry is built and added to the list prior to reading the program input file for the program. The slicer is invoked to read the code and build the flow control and slice lists. The program list information is then used during the simulation phase for execution of the test programs. The number of lines of code is used to indicate when a program has terminated and can no longer produce child nodes along a given branch of the Search Tree.

Program lists add no additional functionality over that of standard List functions.

Functionality for program list entries include the setting and retrieving of the program number and number of lines of code, the retrieving of the flow control and slice lists for the program and starting of the program's slicing mechanism.


Related include files:


Return ...


Andrew Tompkins
Beaverton, OR 97006
Last rev: 17 JUL 03
URL:
http://home.comcast.net/~andytom/simplan.docs/control/prog.list.html

Valid XHTML 1.0!