Back to Search Start Over

Handling loops in bounded model checking of C programs via k-induction.

Authors :
Gadelha, Mikhail
Ismail, Hussama
Cordeiro, Lucas
Source :
International Journal on Software Tools for Technology Transfer. Feb2017, Vol. 19 Issue 1, p97-114. 18p.
Publication Year :
2017

Abstract

The first attempts to apply the k-induction method to software verification are only recent. In this paper, we present a novel proof by induction algorithm, which is built on the top of a symbolic context-bounded model checker and uses an iterative deepening approach to verify, for each step k up to a given maximum, whether a given safety property $$\phi $$ holds in the program. The proposed k-induction algorithm consists of three different cases, called base case, forward condition, and inductive step. Intuitively, in the base case, we aim to find a counterexample with up to k loop unwindings; in the forward condition, we check whether loops have been fully unrolled and that $$\phi $$ holds in all states reachable within k unwindings; and in the inductive step, we check that whenever $$\phi $$ holds for k unwindings, it also holds after the next unwinding of the system. The algorithm was implemented in two different ways, a sequential and a parallel one, and the results were compared. Experimental results show that both forms of the algorithm can handle a wide variety of safety properties extracted from standard benchmarks, ranging from reachability to time constraints. And by comparison, the parallel algorithm solves more verification tasks in less time. This paper marks the first application of the k-induction algorithm to a broader range of C programs; in particular, we show that our k-induction method outperforms CPAChecker in terms of correct results, which is a state-of-the-art k-induction-based verification tool for C programs. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
14332779
Volume :
19
Issue :
1
Database :
Academic Search Index
Journal :
International Journal on Software Tools for Technology Transfer
Publication Type :
Academic Journal
Accession number :
120785159
Full Text :
https://doi.org/10.1007/s10009-015-0407-9