paperbot · PL 论文追踪

全部论文 待读 收藏

P2 An Architecture Supporting Formal and Compositional Binary Analysis

一种支持形式化与组合式二进制分析的架构
ASPLOS Proceedings of the Twenty-Second International Conference on Architectural Support for Programming Languages and Operating Systems2017匹配度 3/10 · 论文聚焦于汇编级形式化验证与体系结构,虽属程序验证领域,但未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析等用户核心交叉方向;仅其形式化与工程落地(FPGA 医疗应用)与用户对理论/工程结合的偏好有轻微重叠。引用 7 inbox
Joseph McMahan, Michael Christensen, Lawton Nichols, Jared Roesch, Sung-Yee Guo, Ben Hardekopf, Timothy Sherwood
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出一种对应 λ 演算的嵌入式计算层架构,使汇编级代码可组合地形式验证,并能与不可信代码安全共存。

针对安全攸关嵌入式系统中完整二进制难以推理、验证代码难以与任意指令式或未验证组件安全共存的问题,论文提出一种由薄计算层控制的体系结构,该层与 λ 演算紧密对应,借助函数式编程原则使汇编更接近 Coq 等推理框架。该计算层在提供完整可编程性的同时具有紧凑、精确且完备的语义,硬件开销与普通嵌入式系统相当。作者用 FPGA 实现原型运行嵌入式医疗应用(监测与治疗致命性心律失常),尽管系统集成未验证指令式组件,仍对端到端系统多属性进行形式验证,包括核心算法汇编实现正确性、可信数据非干涉完整性以及关键时序要求。

问题
如何对安全攸关嵌入式系统的机器指令序列进行深度推理,同时让已验证汇编代码与任意未验证或指令式组件安全组合,而无需庞大可信计算基。
方法
设计一种与 λ 演算紧密对应、由薄计算层控制的体系结构,用函数式编程原则赋予汇编紧凑、精确、完备的语义,并实现 FPGA 原型。
评估
在 FPGA 原型上运行嵌入式医疗心律失常监测与治疗应用,并用 Coq 等形式化方法证明核心算法汇编正确性、可信数据非干涉完整性和关键时序要求。
原文摘要(Abstract)

Building a trustworthy life-critical embedded system requires deep reasoning about the potential effects that sequences of machine instructions can have on full system operation. Rather than trying to analyze complete binaries and the countless ways their instructions can interact with one another --- memory, side effects, control registers, implicit state, etc. --- we explore a new approach. We propose an architecture controlled by a thin computational layer designed to tightly correspond with the lambda calculus, drawing on principles of functional programming to bring the assembly much closer to myriad reasoning frameworks, such as the Coq proof assistant. This approach allows assembly-level verified versions of critical code to operate safely in tandem with arbitrary code, including imperative and unverified system components, without the need for large supporting trusted computing bases. We demonstrate that this computational layer can be built in such a way as to simultaneously provide full programmability and compact, precise, and complete semantics, while still using hardware resources comparable to normal embedded systems. To demonstrate the practicality of this approach, our FPGA-implemented prototype runs an embedded medical application which monitors and treats life-threatening arrhythmias. Though the system integrates untrusted and imperative components, our architecture allows for the formal verification of multiple properties of the end-to-end system, including a proof of correctness of the assembly-level implementation of the core algorithm, the integrity of trusted data via a non-interference proof, and a guarantee that our prototype meets critical timing requirements.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{McMahanCNRGHS17,
  title = {An Architecture Supporting Formal and Compositional Binary Analysis},
  author = {Joseph McMahan and Michael Christensen and Lawton Nichols and Jared Roesch and Sung-Yee Guo and Ben Hardekopf and Timothy Sherwood},
  booktitle = {ASPLOS},
  year = {2017},
  doi = {10.1145/3037697.3037733}
}