A compositional logic for control flow

被引:0
|
作者
Tan, G [1 ]
Appel, AW
机构
[1] Boston Coll, Dept Comp Sci, Chestnut Hill, MA 02167 USA
[2] Princeton Univ, Dept Comp Sci, Princeton, NJ 08544 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a program logic, L-c, which modularly reasons about unstructured control flow in machine-language programs. Unlike previous program logics, the basic reasoning units in L-c are multiple-entry and multiple-exit program fragments. L-c provides fine-grained composition rules to compose program fragments. It is not only useful for reasoning about unstructured control flow in machine languages, but also useful for deriving rules for common control-flow structures such as while-loops, repeat-until-loops, and many others. We also present a semantics for L-c and prove that the logic is both sound and complete with respect to the semantics. As an application, L-c and its semantics have been implemented on top of the SPARC machine language, and are embedded in the Foundational Proof-Carrying Code project to produce memory-safety proofs for machine-language programs.
引用
收藏
页码:80 / +
页数:3
相关论文
共 50 条
  • [1] COVERN: A Logic for Compositional Verification of Information Flow Control
    Murray, Toby
    Sison, Robert
    Engelhardt, Kai
    2018 3RD IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY (EUROS&P 2018), 2018, : 16 - 30
  • [2] Compositional Meaning in Logic
    Carlos Caleiro
    Luca Viganò
    Logica Universalis, 2017, 11 : 283 - 295
  • [3] Compositional Meaning in Logic
    Caleiro, Carlos
    Vigano, Luca
    LOGICA UNIVERSALIS, 2017, 11 (03) : 283 - 295
  • [4] FUTURE COMPUTERS - LOGIC, DATA FLOW, ... , CONTROL FLOW
    TRELEAVEN, PC
    LIMA, IG
    COMPUTER, 1984, 17 (03) : 47 - +
  • [5] COMPARATIVE SEMANTICS FOR FLOW OF CONTROL IN LOGIC PROGRAMMING WITHOUT LOGIC
    DEBAKKER, JW
    INFORMATION AND COMPUTATION, 1991, 94 (02) : 123 - 179
  • [6] Compositional Neural Logic Programming
    Tran, Son N.
    PROCEEDINGS OF THE THIRTIETH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2021, 2021, : 3059 - 3066
  • [7] A compositional logic for protocol correctness
    Durgin, N
    Mitchell, J
    Pavlovic, D
    14TH IEEE COMPUTER SECURITY FOUNDATIONS WORKSHOP, PROCEEDINGS, 2001, : 241 - 255
  • [8] Compositional Verification in Rewriting Logic
    Martin, Oscar
    Verdejo, Alberto
    Marti-Oliet, Narciso
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2024, 24 (01) : 57 - 109
  • [9] The compositional and evolutionary logic of metabolism
    Braakman, Rogier
    Smith, Eric
    PHYSICAL BIOLOGY, 2013, 10 (01)
  • [10] A COMPOSITIONAL SEMANTICS FOR LOGIC PROGRAMS
    BOSSI, A
    GABBRIELLI, M
    LEVI, G
    MEO, MC
    THEORETICAL COMPUTER SCIENCE, 1994, 122 (1-2) : 3 - 47