Institutional Repository
| confinement framework for encapsulating objects | |
| Shu Qin; Qiu Zongyan; Wang Shuling | |
| 2013 | |
| Source | Frontiers of Computer Science
![]() |
| ISSN | 2095-2228 |
| Pages | 1-21 |
| English Abstract | 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. © 2013 Higher Education Press and Springer-Verlag Berlin Heidelberg.; 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. © 2013 Higher Education Press and Springer-Verlag Berlin Heidelberg. |
| Indexed Type | EI |
| Keyword | Computer Software |
| Department | (1) LMAM and Department of Informatics School of Mathematical Sciences Peking University Beijing 100871 China; (2) State Key Laboratory of Computer Science Institute of Software Chinese Academy of Sciences Beijing 100190 China |
| Language | 英语 |
| WOS ID | WOS:000317303800008 |
| Citation statistics | |
| Content Type | 期刊论文 |
| URI | http://ir.iscas.ac.cn/handle/311060/15202 |
| Collection | 中国科学院软件研究所 |
| Recommended Citation GB/T 7714 | Shu Qin,Qiu Zongyan,Wang Shuling. confinement framework for encapsulating objects[J]. Frontiers of Computer Science,2013:1-21. |
| APA | Shu Qin,Qiu Zongyan,&Wang Shuling.(2013).confinement framework for encapsulating objects.Frontiers of Computer Science,1-21. |
| MLA | Shu Qin,et al."confinement framework for encapsulating objects".Frontiers of Computer Science (2013):1-21. |
| Files in This Item: | There are no files associated with this item. | |||||
Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.
Edit Comment