arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1505.04581cs.SEcs.LO
收藏

合成过程间位精确终止证明(扩展版)

Synthesising Interprocedural Bit-Precise Termination Proofs (extended version)

Hong-Yi Chen, Cristina David, Daniel Kroening, Peter Schrammel, Björn Wachter

摘要:

证明程序终止是保证没有不良行为的关键,例如挂起程序,甚至是拒绝服务攻击等安全漏洞。为了使终止检查规模的大型系统,跨过程终止分析似乎是必不可少的,这是一个在很大程度上未开发的研究领域,在终止分析,其中大部分精力都集中在困难的单过程问题。我们提出了一个模块化终止分析C程序使用基于模板的过程间总结。我们的分析结合了上下文敏感的,过度近似的前向分析与推断下近似终止的前提条件。位精确的终止参数是在字典式线性排名函数模板上合成的。我们的实验结果表明,我们的工具2LS优于国家的最先进的替代品,并证明了明显的优势,过程间推理整体分析的效率,同时保持相当的精度。

英文摘要:

Proving program termination is key to guaranteeing absence of undesirable behaviour, such as hanging programs and even security vulnerabilities such as denial-of-service attacks. To make termination checks scale to large systems, interprocedural termination analysis seems essential, which is a largely unexplored area of research in termination analysis, where most effort has focussed on difficult single-procedure problems. We present a modular termination analysis for C programs using template-based interprocedural summarisation. Our analysis combines a context-sensitive, over-approximating forward analysis with the inference of under-approximating preconditions for termination. Bit-precise termination arguments are synthesised over lexicographic linear ranking function templates. Our experimental results show that our tool 2LS outperforms state-of-the-art alternatives, and demonstrate the clear advantage of interprocedural reasoning over monolithic analysis in terms of efficiency, while retaining comparable precision.

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

↑