Nothing Special   »   [go: up one dir, main page]

Skip to main content

Abstract

A separation context is a client program which does not dereference internals of a module with which it interacts. We use certain “precise” relations to unambiguously describe the storage of a module and prove that separation contexts preserve such relations. We also show that a simulation theorem holds for separation contexts, while this is not the case for arbitrary client programs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Hogg, J.: Islands: Aliasing Protection. In: Object-Oriented Languages. In: OOPSLA (1991)

    Google Scholar 

  2. Hogg, J., Lea, D., Wills, A., de Champeaux, D., Holt, R.: The Geneva Convention On The Treatment of Object Aliasing. In: OOPS Messenger (1992)

    Google Scholar 

  3. Banerjee, A., Naumann, D.A.: Representation Independence, Confinement and Access Control [extended abstract]. In: 29th POPL (2002)

    Google Scholar 

  4. Reddy, U.S., Yang, H.: Correctness of Data Representations involving Heap Data Structures. In: Proceedings of ESOP, pp. 223–237. Springer, Heidelberg (2003)

    Google Scholar 

  5. Hoare, C.A.R.: Proof of Correctness of Data Representations. Acta Informatica 1, 271–281 (1972)

    Article  MATH  Google Scholar 

  6. He, J., Hoare, C.A.R., Sanders, J.W.: Data Refinement Refined (Resume). In: Proceedings of ESOP. LNCS, vol. 213, pp. 187–196. Springer, Heidelberg (1986)

    Google Scholar 

  7. Clarke, D.G., Noble, J., Potter, J.M.: Simple Ownership Types for Object Containment. In: Proceedings of ECOOP (2001)

    Google Scholar 

  8. Boyapati, C., Liskov, B., Shrira, L.: Ownership Types for Object Encapsulation. In: 30th POPL (2003)

    Google Scholar 

  9. Reynolds, J.C.: Separation Logic: A Logic for Shared Mutable Data Structures. In: Proceedings of 17th LICS, pp. 55–74 (2002)

    Google Scholar 

  10. Pym, D., O’Hearn, P., Yang, H.: Possible Worlds and Resources: The Semantics of BI. Theoretical Computer Science 313(1), 257–305 (2004)

    Article  MathSciNet  Google Scholar 

  11. Ishtiaq, S., O’Hearn, P.W.: BI as an Assertion Language for Mutable Data Structures. In: 28th POPL, pp. 14–26 (2001)

    Google Scholar 

  12. O’Hearn, P., Yang, H., Reynolds, J.C.: Separation and information hiding. In: 31st POPL, pp. 268–280 (2004)

    Google Scholar 

  13. Yang, H., O’Hearn, P.: A semantic basis for local reasoning. In: Proceedings of FOSSACS 2002, pp. 402–416 (2002)

    Google Scholar 

  14. Schwarz, J.: Generic Commands - A Tool for Partial Correctness Formalisms. Comput. J. 20(2), 151–155 (1977)

    Article  MATH  MathSciNet  Google Scholar 

  15. Yang, H.: Relational Separation Logic. Theoretical Computer Science (to appear)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Mijajlović, I., Torp-Smith, N., O’Hearn, P. (2004). Refinement and Separation Contexts. In: Lodaya, K., Mahajan, M. (eds) FSTTCS 2004: Foundations of Software Technology and Theoretical Computer Science. FSTTCS 2004. Lecture Notes in Computer Science, vol 3328. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30538-5_35

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30538-5_35

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-24058-7

  • Online ISBN: 978-3-540-30538-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics