OS-Aware Interaction Model for the Verification of Multitasking Embedded Software
Author:
Open Access
- 22 July 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 8, 134987-134999
Abstract
As the behavior of multitasking embedded software is dependent on the underlying operating system(s), rigorous and efficient verification in this domain requires models of operating systems (OS) that enable OS-aware verification of application programs at reduced cost. However, the heterogeneity of the languages used for OS models and of the program source code makes it difficult to compose these seemingly independent components and thus requires translation of one language into another, causing various issues in verification. To alleviate this problem, we propose a hybrid approach that composes formal OS models with application programs in an interaction model. Based on typical OS-application interaction behavior, our interaction model is a composition framework that connects an OS model to application programs as long as they share the same Application Program Interface (API). It provides seamless composition of two heterogeneous software artifacts by formulating source code annotations based on control-flow analysis and by synchronizing state transitions over API function calls to regulate the context switching of multitasking programs. A prototype implementation of the interaction model was applied to eight benchmark programs of the Erika OS and a control program with real-scale complexity from the automotive domain. It was shown that the framework supports systematic and effective verification of multitasking embedded software, which has not been possible using code-level model checking.Keywords
Funding Information
- Basic Science Research Program through the National Research Foundation of Korea
- Ministry of Education (NRF-2016R1D1A3B01011685)
- Next-Generation Information Computing Development Program through the National Research Foundation of Korea
- Ministry of Science and ICT (NRF-2017M3C4A7068175)
This publication has 43 references indexed in Scilit:
- Model checking Trampoline OS: a case study on safety analysis for automotive softwareSoftware Testing, Verification and Reliability, 2012
- A model-extraction approach to verifying concurrent C programs with CADPScience of Computer Programming, 2012
- seL4Communications of the ACM, 2010
- Automatic symbolic compositional verification by learning assumptionsFormal Methods in System Design, 2008
- Automated assumption generation for compositional verificationFormal Methods in System Design, 2008
- Formal verification of multitasking applications based on timed automata modelReal-Time Systems, 2007
- Using model checking to find serious file system errorsACM Transactions on Computer Systems, 2006
- A formally verified application-level framework for real-time scheduling on POSIX real-time operating systemsIEEE Transactions on Software Engineering, 2004
- A Tool for Checking ANSI-C Programs2004
- Communicating sequential processesCommunications of the ACM, 1978