{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T23:05:45Z","timestamp":1779836745085,"version":"3.53.1"},"reference-count":54,"publisher":"Cambridge University Press (CUP)","license":[{"start":{"date-parts":[[2021,3,30]],"date-time":"2021-03-30T00:00:00Z","timestamp":1617062400000},"content-version":"unspecified","delay-in-days":88,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[2021]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Separation logic is a powerful program logic for the static modular verification of imperative programs. However,\n                    <jats:italic>dynamic<\/jats:italic>\n                    checking of separation logic contracts on the boundaries between verified and untrusted modules is hard because it requires one to enforce (among other things) that outcalls from a verified to an untrusted module do not access memory resources currently owned by the verified module. This paper proposes an approach to dynamic contract checking by relying on support for capabilities, a well-studied form of unforgeable memory pointers that enables fine-grained, efficient memory access control. More specifically, we rely on a form of capabilities called\n                    <jats:italic>linear<\/jats:italic>\n                    capabilities for which the hardware enforces that they cannot be copied. We formalize our approach as a fully abstract compiler from a statically verified source language to an unverified target language with support for linear capabilities. The key insight behind our compiler is that memory resources described by spatial separation logic predicates can be represented at run time by linear capabilities. The compiler is\n                    <jats:italic>separation-logic-proof-directed<\/jats:italic>\n                    : it uses the separation logic proof of the source program to determine how memory accesses in the source program should be compiled to linear capability accesses in the target program. The full abstraction property of the compiler essentially guarantees that compiled verified modules can interact with untrusted target language modules as if they were compiled from verified code as well. This article is an extended version of one that was presented at ICFP 2019 (Van Strydonck et al., 2019).\n                  <\/jats:p>","DOI":"10.1017\/s0956796821000022","type":"journal-article","created":{"date-parts":[[2021,3,29]],"date-time":"2021-03-29T22:47:10Z","timestamp":1617058030000},"update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":6,"title":["Linear capabilities for fully abstract compilation of separation-logic-verified code"],"prefix":"10.1017","volume":"31","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-5262-1381","authenticated-orcid":false,"given":"THOMAS","family":"VAN STRYDONCK","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"FRANK","family":"PIESSENS","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3862-6856","authenticated-orcid":false,"given":"DOMINIQUE","family":"DEVRIESE","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2021,3,30]]},"reference":[{"key":"S0956796821000022_ref1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-48749-2_2"},{"key":"S0956796821000022_ref6","first-page":"115","volume-title":"Formal Methods for Components and Objects","author":"Berdine","year":"2005"},{"key":"S0956796821000022_ref39","doi-asserted-by":"publisher","DOI":"10.1145\/3341712"},{"key":"S0956796821000022_ref30","volume-title":"Capability-Based Computer Systems","author":"Levy","year":"1984"},{"key":"S0956796821000022_ref43","doi-asserted-by":"publisher","DOI":"10.1145\/3371100"},{"key":"S0956796821000022_ref46","doi-asserted-by":"publisher","DOI":"10.1145\/3290332"},{"key":"S0956796821000022_ref51","doi-asserted-by":"publisher","DOI":"10.1145\/3342538"},{"key":"S0956796821000022_ref35","doi-asserted-by":"publisher","DOI":"10.1145\/2699503"},{"key":"S0956796821000022_ref22","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-17164-2_21"},{"key":"S0956796821000022_ref31","doi-asserted-by":"publisher","DOI":"10.1145\/2951913.2951941"},{"key":"S0956796821000022_ref52","article-title":"Featherweight VeriFast","volume":"11","author":"Vogels","year":"2015","journal-title":"Log. Methods Comput. Sci."},{"key":"S0956796821000022_ref8","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-17524-9_1"},{"key":"S0956796821000022_ref53","unstructured":"Watson, R. N. M. , Neumann, P. G. , Woodruff, J. , Roe, M. , Almatary, H. , Anderson, J. , Baldwin, J. , Barnes, G. , Chisnall, D. , Clarke, J. , Davis, B. , Eisen, L. , Filardo, N. W. , Grisenthwaite, R. , Joannou, A. , Laurie, B. , Markettos, A. T. , Moore, S. W. , Murdoch, S. J. , Nienhuis, K. , Norton, R. , Richardson, A. , Rugg, P. , Sewell, P. , Son, S. & Xia, H. (2020) Capability Hardware Enhanced RISC Instructions: CHERI Instruction-Set Architecture (Version 8). Technical Report UCAM-CL-TR-951. University of Cambridge, Computer Laboratory."},{"key":"S0956796821000022_ref7","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-22110-1_15"},{"key":"S0956796821000022_ref9","doi-asserted-by":"publisher","DOI":"10.1145\/2694344.2694367"},{"key":"S0956796821000022_ref24","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796818000151"},{"key":"S0956796821000022_ref32","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78163-9_19"},{"key":"S0956796821000022_ref2","doi-asserted-by":"publisher","DOI":"10.1145\/2240276.2240279"},{"key":"S0956796821000022_ref44","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511525902.015"},{"key":"S0956796821000022_ref45","doi-asserted-by":"crossref","first-page":"475","DOI":"10.1007\/978-3-319-89884-1_17","article-title":"Reasoning about a machine with local capabilities","volume":"10801","author":"Skorstengaard","year":"2018","journal-title":"Programming Languages and Systems"},{"key":"S0956796821000022_ref27","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-54434-1_26"},{"key":"S0956796821000022_ref33","unstructured":"Noorman, J. , Agten, P. , Daniels, W. , Strackx, R. , Van Herrewege, A. , Huygens, C. , Preneel, B. , Verbauwhede, I. & Piessens, F. (2013) Sancus: Low-cost trustworthy extensible networked devices with a zero-software trusted computing base. In USENIX Security Symposium, pp. 479\u2013494."},{"key":"S0956796821000022_ref47","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-16161-2_20"},{"key":"S0956796821000022_ref48","doi-asserted-by":"publisher","DOI":"10.1145\/3133913"},{"key":"S0956796821000022_ref49","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-71237-6_6"},{"key":"S0956796821000022_ref10","unstructured":"Chlipala, A. (2017) Formal reasoning about programs. Available at: http:\/\/adam.chlipala.net\/frap."},{"key":"S0956796821000022_ref11","first-page":"1","article-title":"Intel SGX explained","volume":"2016","author":"Costan","year":"2016","journal-title":"IACR Cryptol. Eprint Arch."},{"key":"S0956796821000022_ref34","unstructured":"O\u2019Hearn, P. W. (2012) A primer on separation logic (and automatic program verification and analysis). In Software Safety and Security - Tools for Analysis and Verification, pp. 286\u2013318."},{"key":"S0956796821000022_ref42","first-page":"55","volume-title":"Logic in Computer Science","author":"Reynolds","year":"2002"},{"key":"S0956796821000022_ref54","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2015.9"},{"key":"S0956796821000022_ref50","doi-asserted-by":"publisher","DOI":"10.1145\/3342538"},{"key":"S0956796821000022_ref25","doi-asserted-by":"publisher","DOI":"10.1145\/3158154"},{"key":"S0956796821000022_ref3","first-page":"581","volume-title":"Symposium on Principles of Programming Languages. POPL\u201915","author":"Agten","year":"2015"},{"key":"S0956796821000022_ref19","unstructured":"Garg, D. , Hritcu, C. , Patrignani, M. , Stronati, M. & Swasey, D. (2017) Robust hyperproperty preservation for secure compilation (extended abstract). Available at: http:\/\/arxiv.org\/abs\/1710.07309."},{"key":"S0956796821000022_ref28","doi-asserted-by":"publisher","DOI":"10.1145\/1111037.1111042"},{"key":"S0956796821000022_ref40","volume-title":"Types and Programming Languages","author":"Pierce","year":"2002"},{"key":"S0956796821000022_ref13","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2015.55"},{"key":"S0956796821000022_ref16","doi-asserted-by":"publisher","DOI":"10.1007\/11691372_19"},{"key":"S0956796821000022_ref36","doi-asserted-by":"publisher","DOI":"10.1145\/3280984"},{"key":"S0956796821000022_ref14","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837618"},{"key":"S0956796821000022_ref5","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73368-3_22"},{"key":"S0956796821000022_ref20","first-page":"7","article-title":"Garbage collection in C programs","volume":"2003","author":"Insolvibile","year":"2003","journal-title":"Linux J."},{"key":"S0956796821000022_ref21","unstructured":"Jacobs, B. & Piessens, F. (2008) The VeriFast program verifier. Cw Reports."},{"key":"S0956796821000022_ref15","doi-asserted-by":"publisher","DOI":"10.1145\/2951913.2951930"},{"key":"S0956796821000022_ref29","unstructured":"Leroy, X. , Blazy, S. , K\u00e4stner, D. , Schommer, B. , Pister, M. & Ferdinand, C. (2016) CompCert - a formally verified optimizing compiler. In ERTS 2016: Embedded Real Time Software and Systems, 8th European Congress. SEE, Toulouse, France."},{"key":"S0956796821000022_ref38","unstructured":"Patrignani, M. & Garg, D. (2018) Robustly safe compilation or, efficient, provably secure compilation. Corr, abs\/1804.00489."},{"key":"S0956796821000022_ref12","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-15784"},{"key":"S0956796821000022_ref41","first-page":"513","volume-title":"Information Processing","author":"Reynolds","year":"1983"},{"key":"S0956796821000022_ref4","volume-title":"Verification, Model Checking, and Abstract Interpretation","author":"Bader","year":"2018"},{"key":"S0956796821000022_ref17","doi-asserted-by":"publisher","DOI":"10.1145\/2429069.2429114"},{"key":"S0956796821000022_ref26","unstructured":"Knight, T. F. Jr. , DeHon, A. , Sutherland, A. , Dhawan, U. , Kwon, A. & Ray, S. (2012) SAFE ISA (version 3.0 with interrupts per thread). Available at: http:\/\/ic.ese.upenn.edu\/distributions\/safe_processor\/."},{"key":"S0956796821000022_ref37","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2017.13"},{"key":"S0956796821000022_ref18","first-page":"429","volume-title":"Principles of Programming Languages","author":"Garcia","year":"2016"},{"key":"S0956796821000022_ref23","doi-asserted-by":"publisher","DOI":"10.1145\/2951913.2951943"}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796821000022","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:36:29Z","timestamp":1779834989000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796821000022\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021]]},"references-count":54,"alternative-id":["S0956796821000022"],"URL":"https:\/\/doi.org\/10.1017\/s0956796821000022","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021]]},"assertion":[{"value":"\u00a9 The Author(s), 2021. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}}],"article-number":"e6"}}