节点文献

在可信编译器设计中实践CompCert编译器的语法分析器形式化验证过程

Experiment on Formal Verification Process of Parser of CompCert Compiler in Trusted Compiler Design

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李凌李璜华王生原

【Author】 LI Ling;LI Huang-hua;WANG Sheng-yuan;Department of Computer Science and Technology,Tsinghua University;

【通讯作者】 王生原;

【机构】 清华大学计算机科学与技术系

【摘要】 Jourdan等在其2012年发表的论文"Validating LR(1) Parsers"中提出了一种形式化验证语法分析器的方法,并将其成功地应用于CompCert编译器(2.3以上版本)的语法分析器验证中。借助这种方法,文中完成了L2C项目中的Lustre~*语言语法分析器的形式化验证,实现了开源L2C编译器前端语法分析器的两个选项之一。首先对这一语法分析器的实现进行了论述,其中包括有参考价值的技术细节;随后分析了该语法分析器的运行性能及正确性;最后对如何将这一方法推广至更一般的应用场景进行了总结。

【Abstract】 Jourdan and others presented a method to formally verify a parser in their paper Validating LR(1) Parsers published in 2012,and successfully applied it to the parser verification of CompCert compiler(version 2.3 and above).With this method,formal validation of the Lustre~* parser is completed,which is a part of the Open L2 C project,and one of the two options of the front-end parser of the Open L2 C compiler is implemented.Firstly,this paper discussesthe implementation of the parser,inclu-ding some valuable technical details.Thenit analyzes the running performance and correctness of the parser.And finally,how to apply this method tomore general parsersis summarized.

【基金】 核高基重大专项(2017ZX01030-301-003)~~
  • 【文献出处】 计算机科学 ,Computer Science , 编辑部邮箱 ,2020年06期
  • 【分类号】TP314
  • 【被引频次】4
  • 【下载频次】142
节点文献中: 

本文链接的文献网络图示:

本文的引文网络