arrow
Return

Confinement framework for encapsulating objects

delete2013-02-06
delete0
PRE
AI
Q
Qin Shu *
Z
Zongyan Qiu
王树林 cover
王树林 (Shuling Wang)
DOI:10.1007/s11704-013-1259-7delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Confinement is used to prohibit safety-critical objects from unintended access. Approaches for specifying and verifying confinement have been proposed in the last twenty years but their application has been help back. We develop a novel framework for specifying and verifying object confinement in object-oriented (OO) programs. Instead of expressing the confinement requirements within a class for possible future usage, as with ownership types, we specify confinement requirements of the class in its usage class which actually intends to confine the parts, i.e., internal representations. Syntactically, an optional conf clause is introduced in class declarations for annotating the confined attribute-paths. A same type and confinement notation is introduced for expressing type and confinement dependence among variables, parameters, and return values of methods. Based on the extension to a Java-like language and existing techniques of alias analysis, we define a sound type-system for checking the well-confinedness of OO programs with respect to the confinement specifications.
Keywords:
object-oriented
aliasing
confinement
ownership
type system
well-confined program

Journal

Frontiers of Computer Science cover
Frontiers of Computer Science
IF:
4.6
Papers:
1.6K
Citations:
2.8K

Organization

P
peking university
Scholars:
11.8W
Papers: 8.7W
Citations: 146
C
chinese academy of sciences
Scholars:
56.3W
Papers: 44.8W
Citations: 704