arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.02380cs.SEcs.LOcs.PL
收藏

用于程序分析的2LS

2LS for Program Analysis

Daniel Kroening, Viktor Malík, Peter Schrammel, Tomáš Vojnar

摘要:

2LS(“tools”)是一个基于CPROVER框架的C程序验证工具。它允许验证用户指定的断言,内存安全属性(例如缓冲区溢出),数值溢出,除以零,内存泄漏和终止属性。分析是通过将验证任务转换为二阶逻辑公式,包括位向量、数组和浮点算术理论来执行的。该公式是解决了一个模块化的组合算法,涉及展开和基于模板的不变合成的帮助下,增量SAT解决。2LS的优点包括其非常快速的增量有界模型检验算法和其灵活的框架,用于试验新的分析和抽象思想的不变推理。缺点是它缺乏对某些程序特性的支持(例如多线程)。

英文摘要:

2LS ("tools") is a verification tool for C programs, built upon the CPROVER framework. It allows one to verify user-specified assertions, memory safety properties (e.g. buffer overflows), numerical overflows, division by zero, memory leaks, and termination properties. The analysis is performed by translating the verification task into a second-order logic formula over bitvector, array, and floating-point arithmetic theories. The formula is solved by a modular combination of algorithms involving unfolding and template-based invariant synthesis with the help of incremental SAT solving. Advantages of 2LS include its very fast incremental bounded model checking algorithm and its flexible framework for experimenting with novel analysis and abstraction ideas for invariant inference. Drawbacks are its lack of support for certain program features (e.g. multi-threading).

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

↑