{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,9]],"date-time":"2026-01-09T03:04:37Z","timestamp":1767927877236,"version":"3.49.0"},"reference-count":77,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2021,2,9]],"date-time":"2021-02-09T00:00:00Z","timestamp":1612828800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000006","name":"Office of Naval Research","doi-asserted-by":"publisher","award":["N00014-18-1-2620"],"award-info":[{"award-number":["N00014-18-1-2620"]}],"id":[{"id":"10.13039\/100000006","id-type":"DOI","asserted-by":"publisher"}]},{"name":"German Federal Ministry of Education and Research","award":["FKZ: 13N1S0762"],"award-info":[{"award-number":["FKZ: 13N1S0762"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2021,3,31]]},"abstract":"<jats:p>Security-preserving compilers generate compiled code that withstands target-level attacks such as alteration of control flow, data leaks, or memory corruption. Many existing security-preserving compilers are proven to be fully abstract, meaning that they reflect and preserve observational equivalence. Fully abstract compilation is strong and useful but, in certain cases, comes at the cost of requiring expensive runtime constructs in compiled code. These constructs may have no relevance for security, but are needed to accommodate differences between the source and target languages that fully abstract compilation necessarily needs.<\/jats:p>\n          <jats:p>\n            As an alternative to fully abstract compilation, this article explores a different criterion for secure compilation called robustly safe compilation or\n            <jats:italic>RSC<\/jats:italic>\n            . Briefly, this criterion means that the compiled code preserves relevant safety properties of the source program against all adversarial contexts interacting with the compiled program. We show that\n            <jats:italic>RSC<\/jats:italic>\n            can be proved more easily than fully abstract compilation and also often results in more efficient code. We also present two different proof techniques for establishing that a compiler attains\n            <jats:italic>RSC<\/jats:italic>\n            and, to illustrate them, develop three illustrative robustly safe compilers that rely on different target-level protection mechanisms. We then proceed to turn one of our compilers into a fully abstract one and through this example argue that proving\n            <jats:italic>RSC<\/jats:italic>\n            can be simpler than proving full abstraction.\n          <\/jats:p>\n          <jats:p>\n            <jats:italic>To better explain and clarify notions, this article uses syntax highlighting in a way that colourblind and black-8-white readers can benefit from Reference\u00a0[58]. For a better experience, please print or view this article in colour<\/jats:italic>\n            .\n            <jats:sup>1<\/jats:sup>\n          <\/jats:p>","DOI":"10.1145\/3436809","type":"journal-article","created":{"date-parts":[[2021,2,10]],"date-time":"2021-02-10T13:45:21Z","timestamp":1612964721000},"page":"1-41","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["Robustly Safe Compilation, an Efficient Form of Secure Compilation"],"prefix":"10.1145","volume":"43","author":[{"given":"Marco","family":"Patrignani","sequence":"first","affiliation":[{"name":"Stanford University and CISPA Helmholz Center for Information Security, Germany"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Deepak","family":"Garg","sequence":"additional","affiliation":[{"name":"Max Planck Institute for Software Systems, Germany"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2021,2,9]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Secure Internet Programming","author":"Abadi Mart\u00edn","unstructured":"Mart\u00edn Abadi. 1999. Protection in programming-language translations. In Secure Internet Programming. Springer-Verlag, London, UK, 19--34. Retrieved from http:\/\/dl.acm.org\/citation.cfm?id=380171.380174"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/324133.324266"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1609956.1609960"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/325694.325734"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.2002.3086"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2240276.2240279"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3243734.3243745"},{"key":"e_1_2_1_8_1","volume-title":"Trace-relating compiler correctness and secure compilation","author":"Abate Carmine","unstructured":"Carmine Abate, Roberto Blanco, Stefan Ciob\u00e2c\u0103, Adrien Durier, Deepak Garg, C\u0103t\u0103lin Hritcu, Marco Patrignani, \u00c9ric Tanter, and J\u00e9r\u00e9my Thibault. 2020. Trace-relating compiler correctness and secure compilation. In Programming Languages and Systems, Peter M\u00fcller (Ed.). Springer International Publishing, Cham, 1--28."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2019.00025"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2012.12"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1411204.1411227"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2034773.2034830"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133956.3134078"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(85)90056-0"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-130493"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the 9th USENIX Workshop on Offensive Technologies (WOOT\u201915)","author":"Barresi Antonio","unstructured":"Antonio Barresi, Kaveh Razavi, Mathias Payer, and Thomas R. Gross. 2015. CAIN: Silently breaking ASLR in the cloud. In Proceedings of the 9th USENIX Workshop on Offensive Technologies (WOOT\u201915). USENIX Association, Washington, D.C. Retrieved from https:\/\/www.usenix.org\/conference\/woot15\/workshop-program\/presentation\/barresi."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2018.00031"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.cl.2005.05.002"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1890028.1890031"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(92)90185-I"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","unstructured":"G\u00e9rard Boudol. 2009. In Secure Information Flow as a Safety Property. Springer-Verlag Berlin 20--34. DOI:https:\/\/doi.org\/10.1007\/978-3-642-01465-9_2","DOI":"10.1007\/978-3-642-01465-9_2"},{"key":"e_1_2_1_23_1","volume-title":"Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming (ICFP\u201915)","author":"William","unstructured":"William J. Bowman and Amal Ahmed. 2015. Noninterference for free. In Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming (ICFP\u201915). ACM, New York, NY."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1190216.1190253"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/195470.195579"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-2009-0393"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/1454415.1454419"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2980983.2908100"},{"key":"e_1_2_1_30_1","first-page":"4","article-title":"Modular, fully-abstract compilation by approximate back-translation","volume":"13","author":"Devriese Dominique","year":"2017","unstructured":"Dominique Devriese, Marco Patrignani, Steven Keuchel, and Frank Piessens. 2017. Modular, fully-abstract compilation by approximate back-translation. Log. Meth. Comput. Sci. 13, 4 (Oct. 2017).","journal-title":"Log. Meth. Comput. Sci."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2914770.2837618"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158126"},{"key":"e_1_2_1_33_1","unstructured":"Akram El-Korashy. 2016. A Formal Model for Capability Machines -- An Illustrative Case Study towards Secure Compilation to CHERI. Master\u2019s thesis. Universitat des Saarlandes."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1275497.1275500"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2429069.2429114"},{"key":"e_1_2_1_36_1","unstructured":"D. Garg C. Hritcu M. Patrignani M. Stronati and D. Swasey. 2017. Robust hyperproperty preservation for secure compilation (extended abstract). ArXiv e-prints (Oct. 2017). arxiv:cs.CR\/1710.07309."},{"key":"e_1_2_1_37_1","first-page":"4","article-title":"Authenticity by typing for security protocols","volume":"11","author":"Gordon Andrew D.","year":"2003","unstructured":"Andrew D. Gordon and Alan Jeffrey. 2003. Authenticity by typing for security protocols. J. Comput. Sec. 11, 4 (July 2003), 451--519. Retrieved from http:\/\/dl.acm.org\/citation.cfm?id=959088.959090.","journal-title":"J. Comput. Sec."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129514000279"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/1925844.1926402"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2011.18"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/2976749.2978321"},{"key":"e_1_2_1_42_1","volume-title":"Proceedings of the 29th IEEE Symposium on Computer Security Foundations (CSF\u201916)","author":"Juglaret Yannis","unstructured":"Yannis Juglaret, C\u0103t\u0103lin Hri\u0163cu, Arthur Azevedo de Amorim, and Benjamin C. Pierce. 2016. Beyond good and evil: Formalizing the security guarantees of compartmentalizing compilation. In Proceedings of the 29th IEEE Symposium on Computer Security Foundations (CSF\u201916). IEEE Computer Society Press. Retrieved from http:\/\/arxiv.org\/abs\/1602.04503."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837642"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.5555\/2685048.2685061"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-26529-2_3"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/1111320.1111042"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-009-9155-4"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-88313-5_36"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/2487726.2488368"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/361932.361937"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-39322-9_1"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/1631687.1596572"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2784731.2784764"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2951913.2951941"},{"key":"e_1_2_1_55_1","doi-asserted-by":"crossref","unstructured":"Flemming Nielson Hanne R. Nielson and Chris Hankin. 1999. In Principles of Program Analysis. Springer-Verlag New York.","DOI":"10.1007\/978-3-662-03811-6"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129514000280"},{"key":"e_1_2_1_58_1","volume-title":"Syntax Highlighting Beyond Code Snippets. arxiv:cs.SE\/2001.11334","author":"Patrignani Marco","year":"2019","unstructured":"Marco Patrignani. 2020. Why Should Anyone Use Colours? Or, Syntax Highlighting Beyond Code Snippets. arxiv:cs.SE\/2001.11334 (2019)."},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/2699503"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/3280984"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-03542-0_13"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-21461-5_19"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2016.9"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSF.2017.13"},{"key":"e_1_2_1_65_1","volume-title":"Robustly safe compilation or, efficient, provably secure compilation. CoRR abs\/1804.00489","author":"Patrignani Marco","year":"2018","unstructured":"Marco Patrignani and Deepak Garg. 2018. Robustly safe compilation or, efficient, provably secure compilation. CoRR abs\/1804.00489 (2018)."},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-17184-1_17"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-2009-0352"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371100"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1145\/353323.353382"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-89884-1_17"},{"key":"e_1_2_1_71_1","volume-title":"POPL","author":"Skorstengaard Lau","year":"2019","unstructured":"Lau Skorstengaard, Dominique Devriese, and Lars Birkedal. 2019. StkTokens: Enforcing well-bracketed control flow and stack encapsulation using linear capabilities. ACM Prog. Lang. 3, POPL (2019), 19:1--19:28. Retrieved from https:\/\/dl.acm.org\/citation.cfm?id=3290332."},{"key":"e_1_2_1_73_1","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2676985"},{"key":"e_1_2_1_74_1","doi-asserted-by":"publisher","DOI":"10.1145\/982962.964015"},{"key":"e_1_2_1_75_1","doi-asserted-by":"publisher","DOI":"10.1145\/2578855.2535889"},{"key":"e_1_2_1_76_1","doi-asserted-by":"publisher","DOI":"10.1145\/3133913"},{"key":"e_1_2_1_77_1","volume-title":"ARMSecurity Technology","author":"ARM.","year":"2009","unstructured":"ARM. ARMSecurity Technology. 2009. Building a Secure System using TrustZone Technology. ARM Technical White Paper."},{"key":"e_1_2_1_78_1","volume-title":"Proceedings of the Workshop on Foundations of Computer Security (FCS\u201917)","author":"Tsampas Stelios","year":"2017","unstructured":"Stelios Tsampas, Akram El-Korashy, Marco Patrignani, Dominique Devriese, Deepak Garg, and Frank Piessens. 2017. Towards automatic compartmentalization of C programs on capability machines. In Proceedings of the Workshop on Foundations of Computer Security (FCS\u201917)."},{"key":"e_1_2_1_79_1","volume-title":"The While language. arxiv:cs.PL\/1603.08949","author":"Vasconcelos Claudio","year":"2016","unstructured":"Claudio Vasconcelos and Antonio Ravara. 2016. The While language. arxiv:cs.PL\/1603.08949 (2016)."},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-1996-42-304"},{"key":"e_1_2_1_81_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISCA.2014.6853201"}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3436809","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3436809","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3436809","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T17:45:05Z","timestamp":1750268705000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3436809"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,2,9]]},"references-count":77,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,3,31]]}},"alternative-id":["10.1145\/3436809"],"URL":"https:\/\/doi.org\/10.1145\/3436809","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,2,9]]},"assertion":[{"value":"2019-12-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2020-11-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-02-09","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}