Static determination of dynamic properties of generalized type unions

Patrick Cousot, Radhia Cousot

Research output: Contribution to conferencePaper

Abstract

The classical programming languages such as PASCAL or ALGOL 68 do not Drovide full data type security. Run-time errors are not precluded on basic operations. Type safety necessitates a refinement of the data type notion which allows subtypes. The compiler must also be able to ensure that basic operations are applicable. This verification consists in determining a local subtype of globally declared variables or constants. This may be achieved by improved compiler capabilities to analyze the program properties or by language constructs which permit the expression of these properties. Both approaches are discussed and illustrated by the problems of access to records via pointers, access to variants of record structures, determination of disjoint collections of linked records, and determination of integer subrange. Both aporoaches are complementary and a balance must be found between what must be specified by the programmer and what must be discovered by the compiler.

Original languageEnglish (US)
Pages77-94
Number of pages18
DOIs
StatePublished - Mar 1 1977
EventACM Conference on Language Design for Reliable Software 1977 - Raleigh, United States
Duration: Mar 28 1977Mar 30 1977

Other

OtherACM Conference on Language Design for Reliable Software 1977
CountryUnited States
CityRaleigh
Period3/28/773/30/77

    Fingerprint

Keywords

  • ALGOL 68
  • Abstract interoretation of programs
  • Data type
  • Domains/collections
  • Error detection caoabilities
  • Euclid
  • Integer subrange type
  • PASCAL
  • Secure use of pointers/variants of record structures
  • Subtype
  • System of equations
  • Type safety
  • Type unions
  • Type verification/discovery

ASJC Scopus subject areas

  • Software

Cite this

Cousot, P., & Cousot, R. (1977). Static determination of dynamic properties of generalized type unions. 77-94. Paper presented at ACM Conference on Language Design for Reliable Software 1977, Raleigh, United States. https://doi.org/10.1145/800022.808314