The Community for Technology Leaders
2015 Brazilian Symposium on Computing Systems Engineering (SBESC) (2015)
Foz do Iguacu, Brazil
Nov. 3, 2015 to Nov. 6, 2015
ISSN: 2324-7894
ISBN: 978-1-5090-0182-8
pp: 90-95
ABSTRACT
We present a proof by induction algorithm, which combines k-induction with invariants to model check embedded C software with bounded and unbounded loops. The k-induction algorithm consists of three cases: 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 the safety property holds in all states reachable within k unwindings, and in the inductive step, we check that whenever holds for k unwindings, it also holds after the next unwinding of the system. For each step of the k-induction algorithm, we infer invariants using affine constraints (i.e., polyhedral) to specify pre-and post-conditions. Experimental results show that our approach can handle a wide variety of safety properties in typical embedded software applications from telecommunications, control systems, and medical devices, we demonstrate an improvement of the induction algorithm effectiveness if compared to other approaches.
INDEX TERMS
Safety, Software algorithms, Model checking, Software, Computer bugs, Hardware, Algorithm design and analysis
CITATION
Herbert Rocha, Hussama Ismail, Lucas Cordeiro, Raimundo Barreto, "Model Checking Embedded C Software Using k-Induction and Invariants", 2015 Brazilian Symposium on Computing Systems Engineering (SBESC), vol. 00, no. , pp. 90-95, 2015, doi:10.1109/SBESC.2015.24
82 ms
(Ver 3.3 (11022016))