Executable Assertions - An Aid To Reliable Software
暂无分享,去创建一个
Two preprocessors, one for and one for have been implemented to allow "executable assertions" to be added to the source code. These assertions make it possible to carry out certain static and dynamic checks on the semantics of a program. They can detect errors in input data and prevent error propagation. It is possible to in clude remedial instructions to compensate for detected errors and provide fault tolerance. The assertions can be applied to all the data types available in the languages. Executable assertions can also be used in a proof of correctness. This paper describes the syntax of the assertions, which contain first-order logical expressions. Examples are given of their use in a simple but practical example, the calculation of the time that a ballistic projectile travels.
[1] James C. King,et al. A Program Verifier , 1971, IFIP Congress.
[2] Karl N. Levitt,et al. SELECT - a formal system for testing and debugging programs by symbolic execution , 1975, Reliable Software.
[3] James C. King,et al. Symbolic execution and program testing , 1976, CACM.
[4] William E. Howden,et al. Symbolic Testing and the DISSECT Symbolic Evaluation System , 1977, IEEE Transactions on Software Engineering.