A semantic model of confinement and Locality Theorem

Shuling WANG1,Qin SHU2,Yijing LIU2,Zongyan QIU2,

PDF(421 KB)
PDF(421 KB)
Front. Comput. Sci. ›› 2010, Vol. 4 ›› Issue (1) : 28-46. DOI: 10.1007/s11704-009-0075-6
Research articles

A semantic model of confinement and Locality Theorem

  • Shuling WANG1,Qin SHU2,Yijing LIU2,Zongyan QIU2,
Author information +
History +

Abstract

Confinement is required in object-oriented programming in order to protect sensitive object references. Recently a range of confinement schemes have been proposed to achieve object encapsulation by defining static type systems, but unavoidably, with strong restrictions. On the other hand, no similarity in concepts makes assessing of these schemes a difficulty. We build in this paper a semantic model for confinement in μJava, a subset of sequential Java that offers most objectoriented features. This model has limited restriction for programs. From a semantic view, confinement is defined with respect to a given context that specifies partition of the object pool and confinement constraint among them. Moreover, we present the main Locality Theorem for checking well confinement of programs locally. By applying this Theorem, we have solved a security breach problem from Java JDK 1.1.1, and furthermore, proved the soundness of two widely used confinement schemes: confined types and ownership types.

Keywords

operational semantics / confinement / well confined program / Locality Theorem / confined type / ownership

Cite this article

Download citation ▾
Shuling WANG, Qin SHU, Yijing LIU, Zongyan QIU,. A semantic model of confinement and Locality Theorem. Front. Comput. Sci., 2010, 4(1): 28‒46 https://doi.org/10.1007/s11704-009-0075-6
AI Summary AI Mindmap
PDF(421 KB)

Accesses

Citations

Detail

Sections
Recommended

/