Lune

OOPSLA2023顶会

Melocoton: A Program Logic for Verified Interoperability Between OCaml and C

Armaël Guéneau, Johannes Hostert, Simon Spies, Michael Sammler, Lars Birkedal, Derek Dreyer

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Tail Modulo Cons, OCaml, and Relational Separation Logic 引用了 Transfinite Iris: resolving an existential dilemma of step-indexed separation logic
  • RefinedC: automating the foundational verification of C code with refined ownership types 引用了 Transfinite Iris: resolving an existential dilemma of step-indexed separation logic
  • Formal Foundations for Translational Separation Logic Verifiers 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
  • Formal Foundations for Translational Separation Logic Verifiers 引用了 Conditional Contextual Refinement
  • RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe code 引用了 Transfinite Iris: resolving an existential dilemma of step-indexed separation logic
  • Program Logics à la Carte 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
  • Program Logics à la Carte 引用了 Conditional Contextual Refinement
  • Program Logics à la Carte 引用了 An Iris Instance for Verifying CompCert C Programs
  • Conditional Contextual Refinement 引用了 CompCertM: CompCert with C-assembly linking and lightweight modular verification
  • An Iris Instance for Verifying CompCert C Programs 引用了 Transfinite Iris: resolving an existential dilemma of step-indexed separation logic
  • An Iris Instance for Verifying CompCert C Programs 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. An Iris Instance for Verifying CompCert C ProgramsWilliam Mansky, Ke DuPOPL 2024 · 14 次引用
  2. Formal Foundations for Translational Separation Logic VerifiersThibault Dardinier, Michael Sammler, Gaurav Parthasarathy, Alexander J. Summers 等POPL 2025 · 8 次引用
  3. Securing Verified IO Programs Against Unverified Code in FCezar-Constantin Andrici, Stefan Ciobaca, Catalin Hritcu, Guido Martínez 等POPL 2024 · 5 次引用
  4. Tail Modulo Cons, OCaml, and Relational Separation LogicClément Allain, Frédéric Bour, Basile Clément, François Pottier 等POPL 2025 · 4 次引用
  5. Program Logics à la CarteMax Vistrup, Michael Sammler, Ralf JungPOPL 2025 · 4 次引用

它引用的 Paper11

  1. RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian 等PLDI 2021 · 83 次引用
  2. CompCertM: CompCert with C-assembly linking and lightweight modular verificationYoungju Song, Minki Cho, Dongjoo Kim, Yonghyun Kim 等POPL 2020 · 49 次引用
  3. RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe codeYusuke Matsushita, Xavier Denis, Jacques-Henri Jourdan, Derek DreyerPLDI 2022 · 44 次引用
  4. Transfinite Iris: resolving an existential dilemma of step-indexed separation logicSimon Spies, Lennard Gäher, Daniel Gratzer, Joseph Tassarotti 等PLDI 2021 · 32 次引用
  5. Conditional Contextual RefinementYoungju Song, Minki Cho, Dongjae Lee, Chung-Kil Hur 等POPL 2023 · 29 次引用

相关 Paper

  1. A Relational Separation Logic for Effect HandlersPaulo Emílio de Vilhena, Simcha van Collem, Ines Wright, Robbert KrebbersPOPL 2026 · 3 次引用
  2. Compositional Non-Interference for Fine-Grained Concurrent ProgramsDan Frumin, Robbert Krebbers, Lars BirkedalS&P 2021 · 20 次引用
  3. Iris-Wasm: Robust and Modular Verification of WebAssembly ProgramsXiaojia Rao, Aïna Linn Georges, Maxime Legoupil, Conrad Watt 等PLDI 2023 · 19 次引用
  4. Actris: session-type based reasoning in separation logicJonas Kastberg Hinrichsen, Jesper Bengtson, Robbert KrebbersPOPL 2020 · 44 次引用
  5. Zoo: A Framework for the Verification of Concurrent OCaml 5 Programs using Separation LogicClément Allain, Gabriel SchererPOPL 2026 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖