Machine instruction syntax and semantics in higher order logic

被引:0
|
作者
Michael, NG [1 ]
Appel, AW [1 ]
机构
[1] Princeton Univ, Dept Comp Sci, Princeton, NJ 08544 USA
来源
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Proof-carrying code and other applications in computer security require machine-checkable proofs of properties of machine-language programs. These in turn require axioms about the opcode/operand encoding of machine instructions and the semantics of the encoded instructions. We show how to specify instruction encodings and semantics in higher-order logic, in a way that preserves the factoring of similar instructions in real machine architectures. We show how to automatically generate proofs of instruction decodings, global invariants from local invariants, Floyd-Hoare rules and predicate transformers. all from the specification of the instruction semantics. Our work is implemented in ML and Twelf, and all the theorems are checked in Twelf.
引用
收藏
页码:7 / 24
页数:18
相关论文
共 50 条
  • [1] Parametric higher-order abstract syntax for mechanized semantics
    Chlipala, Adam
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (09) : 143 - 156
  • [2] Initial Semantics for higher-order typed syntax in Coq
    Ahrens, Benedikt
    Zsido, Julianna
    [J]. JOURNAL OF FORMALIZED REASONING, 2011, 4 (01): : 25 - 69
  • [3] Parametric Higher-Order Abstract Syntax for Mechanized Semantics
    Chlipala, Adam
    [J]. ICFP'08: PROCEEDINGS OF THE 2008 SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2008, : 143 - 156
  • [4] A logic for reasoning with higher-order abstract syntax
    McDowell, R
    Miller, D
    [J]. 12TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1997, : 434 - 445
  • [5] TOPOS SEMANTICS FOR HIGHER-ORDER MODAL LOGIC
    Awodey, Steve
    Kishida, Kohei
    Kotzsch, Hans-Christoph
    [J]. LOGIQUE ET ANALYSE, 2014, (228) : 591 - 636
  • [6] Higher-Order Syntax and Saturation Algorithms for Hybrid Logic
    Hardt, Moritz
    Smolka, Gert
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 174 (06) : 15 - 27
  • [7] DIALOGICAL LOGIC: BEYOND SYNTAX AND SEMANTICS?
    Del Din, Guido
    [J]. EPISTEMOLOGIA, 2014, 37 (02): : 276 - 288
  • [8] A semantics and a logic for Fuzzy Arden Syntax
    Gomes, Leandro
    Madeira, Alexandre
    Barbosa, Luis Soares
    [J]. SOFT COMPUTING, 2021, 25 (09) : 6789 - 6805
  • [9] A semantics and a logic for Fuzzy Arden Syntax
    Leandro Gomes
    Alexandre Madeira
    Luís Soares Barbosa
    [J]. Soft Computing, 2021, 25 : 6789 - 6805
  • [10] Hoare Logic for Higher Order Store Using Simple Semantics
    Charlton, Nathaniel
    [J]. LOGIC, LANGUAGE, INFORMATION AND COMPUTATION, WOLLIC 2011, 2011, 6642 : 52 - 66