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

使用符号执行寻找$\forall\exists$超漏洞

Finding $\forall\exists$ Hyperbugs using Symbolic Execution

Arthur Correnson, Tobias Niessen, Bernd Finkbeiner, Georg Weissenbacher

AI总结:

针对$\forall\exists$超性质因量词交替难以自动化检测违反情况的问题,本文提出扩展符号执行漏洞发现技术以支持轨迹量化的全自动化方法,并通过原型系统在挑战性示例上验证了有效性。

摘要:

许多重要的超性质,如精化和广义非干涉,都属于$\forall\exists$超性质范畴,这类性质要求系统的每条执行轨迹都存在另一条以特定方式与该轨迹相关联的轨迹。量词的交替使得$\forall\exists$超性质极难验证,甚至难以测试。事实上,与仅需找到单条反例轨迹的轨迹性质不同,反驳一个$\forall\exists$超性质不仅需要找到一条轨迹,还需要证明不存在第二条轨迹能与第一条轨迹满足指定关系。因此,$\forall\exists$超性质的自动化测试超出了现有自动化测试工具的能力范围。本文提出了一种检测软件系统中$\forall\exists$超性质违反情况的全自动化方法。该方法对基于符号执行的漏洞发现技术进行了扩展,新增了对轨迹量化的支持。我们实现了该方法的原型系统,并在一组具有挑战性的示例上验证了其有效性。

英文摘要:

Many important hyperproperties, such as refinement and generalized non-interference, fall into the class of $\forall\exists$ hyperproperties and require, for each execution trace of a system, the existence of another trace relating to the first one in a certain way. The alternation of quantifiers renders $\forall\exists$ hyperproperties extremely difficult to verify, or even just to test. Indeed, contrary to trace properties, where it suffices to find a single counterexample trace, refuting a $\forall\exists$ hyperproperty requires not only to find a trace, but also a proof that no second trace satisfies the specified relation with the first trace. As a consequence, automated testing of $\forall\exists$ hyperproperties falls out of the scope of existing automated testing tools. In this paper, we present a fully automated approach to detect violations of $\forall\exists$ hyperproperties in software systems. Our approach extends bug-finding techniques based on symbolic execution with support for trace quantification. We provide a prototype implementation of our approach, and demonstrate its effectiveness on a set of challenging examples.

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

↑