Automated dynamic validation through assertion checking has been proposed in recent years to ensure program correctness [3,7]. This method has shown to be useful for validating large scale programs. When used in parallel with debugging aids, it can be useful for early detecting and properly locating errors. In this paper, we provide a theoretical basis for assertion checking with regard to validation of program correctness. This gives some guidelines for inserting assertions within the program. An assertion language is provided for stating assertions. Salient features of this language are provided. A language preprocessor is designed to process source program inserted with assertions to generate source code acceptable to the existing compiler. Finally, future extentions to the assertion language and limitations of assertion checking to ensure program correctness are discussed.
[1]
Ben Wegbreit.
The ECL programming system
,
1972,
AFIPS '71 (Fall).
[2]
Leon G. Stucki,et al.
New assertion concepts for self-metric software validation
,
1975
.
[3]
C. V. Ramamoorthy,et al.
On the Automated Generation of Program Test Data
,
1976,
IEEE Transactions on Software Engineering.
[4]
Tsun S. Chow.
A generalized assertion language
,
1976,
ICSE '76.
[5]
John McCarthy,et al.
Recursive functions of symbolic expressions and their computation by machine, Part I
,
1960,
Commun. ACM.