首页    期刊浏览 2024年11月07日 星期四
登录注册

文章基本信息

  • 标题:Generating Verified LLVM from Isabelle/HOL
  • 本地全文:下载
  • 作者:Peter Lammich
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:141
  • 页码:1-19
  • DOI:10.4230/LIPIcs.ITP.2019.22
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We present a framework to generate verified LLVM programs from Isabelle/HOL. It is based on a code generator that generates LLVM text from a simplified fragment of LLVM, shallowly embedded into Isabelle/HOL. On top, we have developed a separation logic, a verification condition generator, and an LLVM backend to the Isabelle Refinement Framework. As case studies, we have produced verified LLVM implementations of binary search and the Knuth-Morris-Pratt string search algorithm. These are one order of magnitude faster than the Standard-ML implementations produced with the original Refinement Framework, and on par with unverified C implementations. Adoption of the original correctness proofs to the new LLVM backend was straightforward. The trusted code base of our approach is the shallow embedding of the LLVM fragment and the code generator, which is a pretty printer combined with some straightforward compilation steps.
  • 关键词:Isabelle/HOL; LLVM; Separation Logic; Verification Condition Generator; Code Generation
国家哲学社会科学文献中心版权所有