English
A method of documenting exception propagation and handling in Ada programs is proposed. Exception propagation declarations are introduced as a new component of Ada specifications. This permits documentation of those exceptions that can be propagated by a subprogram. Exception handlers are documented by entry assertions. Axioms and proof rules for Ada exceptions are given. These rules are simple extensions of previous rules for Pascal and define an axiomatic semantics of Ada exceptions. As a result, Ada programs specified according to the method can be analysed by formal proof techniques for consistency with their specifications, even if they employ exception propagation and handling to achieve required results (i.e. non error situations). Example verifications are given. (Author)
Sign in with your free account to read, download EPUBs or listen.
Ebook · DTIC ADA086577: ADA Exceptions: Specification and Proof Techniques. · Defense Technical Information Center · Internet Archive
DTIC Archive · Luckham,D C · STANFORD UNIV CA DEPT OF COMPUTER SCIENCE · *COMPUTER PROGRAMS · *PROPAGATION · *SUBROUTINES · REQUIREMENTS · VALIDATION · SPECIFICATIONS · SEMANTICS