Year: 2023
Type: preprint
Abstract: 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).
Source: arXiv (Cornell University)
Institution: University of Oxford
Language: English
Subfield: Computational Theory and Mathematics
Field: Computer Science
Domain: Physical Sciences
Keywords: C program verification, second-order logic, array theory, floating-point arithmetic, incremental SAT solving, bounded model checking, invariant synthesis, template synthesis, memory safety, buffer overflow, numerical overflow, division by zero, memory leaks, termination analysis, program analysis tools
Open Access status: green
OpenAlex ID: W4319452872
