从头开始验证x86软件
Specifying verified x86 software from scratch
摘要:
我们提出了一个简单的框架,用于指定和证明有关x86-64架构上的ELF二进制文件的输入/输出行为的事实。在所有级别上都非常强调简单性:规范只说明了它需要的关于目标可执行文件的内容,规范在简单的逻辑(相当于一阶皮亚诺算术)中执行,验证语言和证明检查器是定制设计的,只有执行有效的通用验证所必需的内容。这是Metamath Zero项目的一部分,用于构建一个能够验证自己的二进制文件的最小验证器。在本文中,我们将介绍x86机器码的动态语义规范,以及有关Linux系统调用的足够信息,以执行简单的IO。
英文摘要:
We present a simple framework for specifying and proving facts about the input/output behavior of ELF binary files on the x86-64 architecture. A strong emphasis has been placed on simplicity at all levels: the specification says only what it needs to about the target executable, the specification is performed inside a simple logic (equivalent to first-order Peano Arithmetic), and the verification language and proof checker are custom-designed to have only what is necessary to perform efficient general purpose verification. This forms a part of the Metamath Zero project, to build a minimal verifier that is capable of verifying its own binary. In this paper, we will present the specification of the dynamic semantics of x86 machine code, together with enough information about Linux system calls to perform simple IO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。