{"publication_identifier":{"issn":["2475-1421"]},"quality_controlled":"1","oa":1,"page":"716-744","volume":7,"type":"journal_article","date_created":"2024-09-05T08:17:10Z","extern":"1","intvolume":" 7","user_id":"317138e5-6ab7-11ef-aa6d-ffef3953e345","oa_version":"Published Version","doi":"10.1145/3622823","main_file_link":[{"open_access":"1","url":"https://doi.org/10.1145/3622823"}],"publisher":"Association for Computing Machinery","publication":"Proceedings of the ACM on Programming Languages","day":"16","year":"2023","scopus_import":"1","abstract":[{"text":"In recent years, there has been tremendous progress on developing program logics for verifying the correctness of programs in a rich and diverse array of languages. Thus far, however, such logics have assumed that programs are written entirely in a single programming language. In practice, this assumption rarely holds since programs are often composed of components written in different programming languages, which interact with one another via some kind of foreign function interface (FFI). In this paper, we take the first steps towards the goal of developing program logics for multi-language verification. Specifically, we present Melocoton, a multi-language program verification system for reasoning about OCaml, C, and their interactions through the OCaml FFI. Melocoton consists of the first formal semantics of (a large subset of) the OCaml FFI—previously only described in prose in the OCaml manual—as well as the first program logic to reason about the interactions of program components written in OCaml and C. Melocoton is fully mechanized in Coq on top of the Iris separation logic framework.","lang":"eng"}],"date_updated":"2024-09-10T09:04:24Z","_id":"17498","article_processing_charge":"No","issue":"OOPSLA2","title":"Melocoton: A program logic for verified interoperability between OCaml and C","citation":{"ieee":"A. Guéneau, J. Hostert, S. Spies, M. J. Sammler, L. Birkedal, and D. Dreyer, “Melocoton: A program logic for verified interoperability between OCaml and C,” Proceedings of the ACM on Programming Languages, vol. 7, no. OOPSLA2. Association for Computing Machinery, pp. 716–744, 2023.","ista":"Guéneau A, Hostert J, Spies S, Sammler MJ, Birkedal L, Dreyer D. 2023. Melocoton: A program logic for verified interoperability between OCaml and C. Proceedings of the ACM on Programming Languages. 7(OOPSLA2), 716–744.","mla":"Guéneau, Armaël, et al. “Melocoton: A Program Logic for Verified Interoperability between OCaml and C.” Proceedings of the ACM on Programming Languages, vol. 7, no. OOPSLA2, Association for Computing Machinery, 2023, pp. 716–44, doi:10.1145/3622823.","apa":"Guéneau, A., Hostert, J., Spies, S., Sammler, M. J., Birkedal, L., & Dreyer, D. (2023). Melocoton: A program logic for verified interoperability between OCaml and C. Proceedings of the ACM on Programming Languages. Association for Computing Machinery. https://doi.org/10.1145/3622823","ama":"Guéneau A, Hostert J, Spies S, Sammler MJ, Birkedal L, Dreyer D. Melocoton: A program logic for verified interoperability between OCaml and C. Proceedings of the ACM on Programming Languages. 2023;7(OOPSLA2):716-744. doi:10.1145/3622823","chicago":"Guéneau, Armaël, Johannes Hostert, Simon Spies, Michael Joachim Sammler, Lars Birkedal, and Derek Dreyer. “Melocoton: A Program Logic for Verified Interoperability between OCaml and C.” Proceedings of the ACM on Programming Languages. Association for Computing Machinery, 2023. https://doi.org/10.1145/3622823.","short":"A. Guéneau, J. Hostert, S. Spies, M.J. Sammler, L. Birkedal, D. Dreyer, Proceedings of the ACM on Programming Languages 7 (2023) 716–744."},"date_published":"2023-10-16T00:00:00Z","publication_status":"published","status":"public","article_type":"original","month":"10","author":[{"last_name":"Guéneau","first_name":"Armaël","full_name":"Guéneau, Armaël"},{"full_name":"Hostert, Johannes","last_name":"Hostert","first_name":"Johannes"},{"full_name":"Spies, Simon","last_name":"Spies","first_name":"Simon"},{"full_name":"Sammler, Michael Joachim","id":"510d3901-2a03-11ee-914d-d9ae9011f0a7","first_name":"Michael Joachim","last_name":"Sammler"},{"full_name":"Birkedal, Lars","first_name":"Lars","last_name":"Birkedal"},{"first_name":"Derek","last_name":"Dreyer","full_name":"Dreyer, Derek"}],"language":[{"iso":"eng"}]}