Model checking of software for microcontrollers
Author:
Open Access
- 1 March 2010
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Embedded Computing Systems
- Vol. 9 (4) , 1-27
Abstract
The interest of industries in model checking software for microcontrollers is increasing. However, there are currently no appropriate tools that can be applied by embedded systems developers for the direct verification of software for microcontrollers without the need for manual modeling. This article describes a new approach to model checking software for microcontrollers, which verifies the assembly code of the software. The state space is built using a tailored simulator, which abstracts from time, handles nondeterminism, and creates an overapproximation of the behavior shown by the real microcontroller. Within this simulator, we apply abstraction techniques to tackle the state-explosion problem. In our approach, we combine different formal methods, namely, model checking, static analysis, and abstract interpretation. We also combine explicit and symbolic model checking techniques. This article presents a case study using several programs to demonstrate the efficiency of the applied abstraction techniques and to show the applicability of this approach.Keywords
This publication has 14 references indexed in Scilit:
- WYSINWYX: What You See Is Not What You eXecuteLecture Notes in Computer Science, 2008
- [mc]square: A Model Checker for Microcontroller Code2006
- Eliminating stack overflow by abstract interpretationACM Transactions on Embedded Computing Systems, 2005
- Model Checking Machine Code with the GNU DebuggerLecture Notes in Computer Science, 2005
- Model Checking x86 Executables with CodeSurfer/x86 and WPDS++Lecture Notes in Computer Science, 2005
- Static Analysis for State-Space Reductions Preserving Temporal LogicsFormal Methods in System Design, 2004
- A formal concurrency model based architecture description language for synthesis of software development tools2004
- LISA—machine description language for cycle-accurate models of programmable DSP architectures1999
- EXPRESSION1999
- Temporal and Modal Logic1990