Sound Transpilation from Binary to Machine-Independent Code
Sound Transpilation from Binary to Machine-Independent Code
复制标题
从二进制到机器无关代码的声音转换
DOI:
10.1007/978-3-319-70848-5_13
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
R. Guanciale
中科院分区:
文献类型:
--
作者:
Roberto Metere;Andreas Lindner;R. Guanciale
In order to handle the complexity and heterogeneity of modern instruction set architectures, analysis platforms share a common design, the adoption of hardware-independent intermediate representations. The usage of these platforms to verify systems down to binary-level is appealing due to the high degree of automation they provide. However, it introduces the need for trusting the correctness of the translation from binary code to intermediate language. Achieving a high degree of trust is challenging since this transpilation must handle (i) all the side effects of the instructions, (ii) multiple instruction encoding (e.g. ARM Thumb), and (iii) variable instruction length (e.g. Intel). We overcome these problems by formally modeling one of such intermediate languages in the interactive theorem prover HOL4 and by implementing a proof-producing transpiler. This tool translates ARMv8 programs to the intermediate language and generates a HOL4 proof that demonstrates the correctness of the translation in the form of a simulation theorem. We also show how the transpiler theorems can be used to transfer properties verified on the intermediate language to the binary code.
DOI:
10.1145/1315245.1315313
发表时间:
2007-10
期刊:
--
影响因子:
--
作者:
H. Shacham
通讯作者:
H. Shacham