arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.13383cs.PL
收藏

StacKAT:无限状态网络验证

StacKAT: Infinite State Network Verification

Jules Jacobs, Nate Foster, Tobias Kappé, Dexter Kozen, Lily Saada, Alexandra Silva, Jana Wagemaker

AI总结:

本文提出支持堆栈、循环和有限状态变量的网络验证语言 StacKAT,可表达解析、源路由和遥测等行为,并基于有限自动机给出程序等价性判定过程及完备公理化。

摘要:

我们开发了 StacKAT,这是一种网络验证语言,具有循环、有限状态变量、非确定性,以及最重要的——对堆栈的访问及相应的 push 和 pop 操作。通过将变量和堆栈视为网络数据包的(已解析的)报文头和(待解析的)内容,StacKAT 可以表达广泛的网络行为,包括解析、源路由和遥测。这些行为难以或无法使用 NetKAT 等现有语言建模。我们基于有限自动机为 StacKAT 程序等价性开发了一种判定过程。该判定过程为验证全网范围的属性提供了理论基础,并能够为不等价的程序提供反例。最后,我们给出了 StacKAT 等价性的公理化,并证明了其完备性。

英文摘要:

We develop StacKAT, a network verification language featuring loops, finite state variables, nondeterminism, and - most importantly - access to a stack with accompanying push and pop operations. By viewing the variables and stack as the (parsed) headers and (to-be-parsed) contents of a network packet, StacKAT can express a wide range of network behaviors including parsing, source routing, and telemetry. These behaviors are difficult or impossible to model using existing languages like NetKAT. We develop a decision procedure for StacKAT program equivalence, based on finite automata. This decision procedure provides the theoretical basis for verifying network-wide properties and is able to provide counterexamples for inequivalent programs. Finally, we provide an axiomatization of StacKAT equivalence and establish its completeness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑