Reasoning about safety properties in a JVM-like environment

被引:0
|
作者
Fong, Philip W. L. [1 ]
机构
[1] Univ Regina, Dept Comp Sci, Regina, SK S4S 0A2, Canada
关键词
!text type='Java']Java[!/text] virtual machine; type-based protection mechanism; formal verification; safety; access control; stack invariant; confinement;
D O I
10.1016/j.scico.2007.04.001
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Type-based protection mechanisms in a JVM-like environment must be administrated by the code consumer at the bytecode level. Unfortunately, formulating a sound static type system for the full JVM bytecode language can be a daunting task. It is therefore counter-productive for the designer of a bytecode-level type system to address the full complexity of the VM environment in the early stage of design. In this work, a lightweight modelling tool, Featherweight JVM, is proposed to facilitate the early evaluation of bytecode-level, type-based protection mechanisms and, specifically, their ability to enforce security-motivated stack invariants and confinement properties. Rather than modelling the execution of a specific bytecode stream, Featherweight JVM is a nondeterministic event model that captures all the possible access event sequences that may be generated by a JVM-like environment when well-typed bytecode programs are executed. The effect of deploying a type-based protection mechanism can be modelled by a safety policy that constrains the event sequences produced by the VM model. To evaluate the effectiveness of the protection mechanism, security theorems in the form of state invariants can then be proved in the policy-guarded VM model. To demonstrate the utility of the proposed approach, Vitek et al.'s Confined Types has been formulated as a safety policy for the Featherweight JVM, and a corresponding confinement theorem has been established. To reduce class loading overhead, a capability-based reformulation of Confined Types is then studied, and is shown to preserve the confinement theorem. This paper thus provides first evidence on the utility of Featherweight JVM in providing early feedback to the designer of type-based protection mechanisms for JVM-like environments. (c) 2007 Elsevier B.V. All rights reserved.
引用
收藏
页码:278 / 300
页数:23
相关论文
共 50 条
  • [1] REASONING ABOUT SAFETY AND LIVENESS PROPERTIES FOR PROBABILISTIC PROCESSES
    CHRISTOFF, L
    CHRISTOFF, I
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 652 : 342 - 355
  • [2] CHILDRENS REASONING ABOUT THEIR ENVIRONMENT
    HOUGHTON, DM
    MORGAN, V
    [J]. JOURNAL OF GEOGRAPHY, 1974, 73 (05) : 5 - 10
  • [3] Reasoning about Actions in Fuzzy Environment
    Saad, Emad
    Elmorsy, Shaimaa A.
    Gabr, Mahmoud M. H.
    Hassan, Yasser F. M.
    [J]. PROCEEDINGS OF THE JOINT 2009 INTERNATIONAL FUZZY SYSTEMS ASSOCIATION WORLD CONGRESS AND 2009 EUROPEAN SOCIETY OF FUZZY LOGIC AND TECHNOLOGY CONFERENCE, 2009, : 825 - 830
  • [4] Reasoning about shadows in a mobile robot environment
    Valquiria Fenelon
    Paulo E. Santos
    Hannah M. Dee
    Fabio G. Cozman
    [J]. Applied Intelligence, 2013, 38 : 553 - 565
  • [5] Reasoning about ER models in a deductive environment
    Neumann, G
    [J]. DATA & KNOWLEDGE ENGINEERING, 1996, 19 (03) : 241 - 266
  • [6] AN ENVIRONMENT FOR AUTOMATED REASONING ABOUT PARTIAL FUNCTIONS
    BASIN, DA
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1988, 310 : 101 - 110
  • [7] Reasoning about shadows in a mobile robot environment
    Fenelon, Valquiria
    Santos, Paulo E.
    Dee, Hannah M.
    Cozman, Fabio G.
    [J]. APPLIED INTELLIGENCE, 2013, 38 (04) : 553 - 565
  • [8] A tools environment for developing and reasoning about ontologies
    Dong, JS
    Feng, YZ
    Li, YF
    Sun, J
    [J]. 12TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2005, : 465 - 472
  • [9] Anthropomorphic reasoning about neuromorphic AGI safety
    Jilk, David J.
    Herd, Seth J.
    Read, Stephen J.
    O'Reilly, Randall C.
    [J]. JOURNAL OF EXPERIMENTAL & THEORETICAL ARTIFICIAL INTELLIGENCE, 2017, 29 (06) : 1337 - 1351
  • [10] Reasoning about Safety and Progress Using Contracts
    Ben-Hafaiedh, Imene
    Graf, Susanne
    Quinton, Sophie
    [J]. FORMAL METHODS AND SOFTWARE ENGINEERING, 2010, 6447 : 436 - 451