paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Computing Precise Control Interface Specifications

计算精确的控制接口规范
OOPSLA 8(OOPSLA2)2024匹配度 3/10 · 论文属于程序验证与静态分析,但其应用场景是网络数据平面控制接口规范,不涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户画像的核心交叉方向距离较远;仅在抽象解释、路径分析等方法论层面有间接关联。引用 1 inbox
Eric Hayden Campbell, Hossein Hojjat, Nate Foster
dblp: 2026-09-10crossref: 2026-09-10

AI 速览

一句话:提出首个为网络数据平面计算精确且可高效监控的控制接口规范(ci-spec)的算法,并在真实程序中发现 bug。

网络程序验证因控制面与数据面分工而困难:控制面计算路由并生成设备配置,数据面依赖这些配置实现转发。数据面正确性常假设控制面配置满足复杂的控制接口规范(ci-spec),因此验证器、监控器、测试生成器必须知道这些规范,否则会产生误报。本文提出首个为网络数据平面计算精确 ci-spec 的算法。该规范可高效监控:检查固定配置是否满足 ci-spec 可在多项式时间内完成。算法基于模块化程序插桩、量词消去与路径分析,表达力优于先前工作且适用于实际网络程序。实现表明,所计算 ci-spec 能在真实数据平面程序中发现真实 bug。

问题
网络数据面验证依赖控制面生成的配置满足复杂控制接口规范(ci-spec),但现有验证、监控与测试工具缺少对这些规范的精确刻画,导致误报。
方法
提出首个计算精确 ci-spec 的算法,基于模块化程序插桩、量词消去与路径分析,并保证规范可在多项式时间内监控。
评估
实现工具并在真实数据平面程序上评估,表明所计算 ci-spec 有助于发现真实 bug。
原文摘要(Abstract)

Verifying network programs is challenging because of how they divide labor: the control plane computes high level routes through the network and compiles them to device configurations, while the data plane uses these configurations to realize the desired forwarding behavior. In practice, the correctness of the data plane often assumes that the configurations generated by the control plane will satisfy complex specifications. Consequently, validation tools such as program verifiers, runtime monitors, fuzzers, and test-case generators must be aware of these control interface specifications (ci-specs) to avoid raising false alarms. In this paper, we propose the first algorithm for computing precise ci-specs for network data planes. Our specifications are designed to be efficiently monitorable —concretely, checking that a fixed configuration satisfies a ci-spec can be done in polynomial time. Our algorithm, based on modular program instrumentation, quantifier elimination, and a path-based analysis, is more expressive than prior work, and is applicable to practical network programs. We describe an implementation and show that ci-specs computed by our tool are useful for finding real bugs in real-world data plane programs.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{CampbellHF24,
  title = {Computing Precise Control Interface Specifications},
  author = {Eric Hayden Campbell and Hossein Hojjat and Nate Foster},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {OOPSLA2},
  year = {2024},
  doi = {10.1145/3689743}
}