RUS  ENG
Full version
JOURNALS // Modelirovanie i Analiz Informatsionnykh Sistem // Archive

Model. Anal. Inform. Sist., 2013 Volume 20, Number 6, Pages 22–35 (Mi mais340)

Defect Detection: Combining Bounded Model Checking and Code Contracts

Marat Akhin, Mikhail Belyaev, Vladimir Itsykson

Saint-Petersburg State Polytechnical University, Polytechnicheskaya street, 21, Saint-Petersburg 194021 Russia

Abstract: Bounded model checking (BMC) of C/C++ programs is a matter of scientific enquiry that attracts great attention in the last few years. In this paper, we present our approach to this problem. It is based on combining several recent results in BMC, namely, the use of LLVM as a baseline for model generation, employment of high-performance Z3 SMT solver to do the formula heavy-lifting, and the use of various function summaries to improve analysis efficiency and expressive power. We have implemented a basic prototype; experiment results on a set of simple test BMC problems are satisfactory.

Keywords: bounded model checking, satisfiability modulo theories, LLVM, function contracts, function summaries.

UDC: 004.052.42+004.4'23

Received: 15.09.2013



© Steklov Math. Inst. of RAS, 2025