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

分离逻辑分析中的势性质精化

Refining Existential Properties in Separation Logic Analyses

Matko Botinčan, Mike Dodds, Stephen Magill

摘要:

在分离逻辑程序分析中,易处理性通常通过将不变量限制在有限的抽象域来实现。由于这个域不能变化,即使在底层逻辑中可以进行验证,信息丢失也可能导致失败。在本文中,我们提出了一种类似CEGAR的方法,用于检测虚假故障并通过细化抽象域来避免它们。我们的方法是面向发现存在的属性,例如“列表包含值x”。为了诊断故障,我们使用溯因推理,这是一种用于推断命令先决条件的技术。我们的方法从错误向后工作,识别因抽象而丢失的必要信息,并改进正向分析以避免错误。我们定义了几类存在属性的域,并在Redis,Azureus和FreeRTOS的案例研究中展示了它们的有效性。

英文摘要:

In separation logic program analyses, tractability is generally achieved by restricting invariants to a finite abstract domain. As this domain cannot vary, loss of information can cause failure even when verification is possible in the underlying logic. In this paper, we propose a CEGAR-like method for detecting spurious failures and avoiding them by refining the abstract domain. Our approach is geared towards discovering existential properties, e.g. "list contains value x". To diagnose failures, we use abduction, a technique for inferring command preconditions. Our method works backwards from an error, identifying necessary information lost by abstraction, and refining the forward analysis to avoid the error. We define domains for several classes of existential properties, and show their effectiveness on case studies adapted from Redis, Azureus and FreeRTOS.

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

↑