PBE-Based Selective Abstraction and Refinement for Efficient Property Falsification of Embedded Software
Open Access
- 12 July 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 1 (FSE) , 293-315
Abstract
Comprehensive verification/falsification of embedded software is challenging and often impossible mainly due to the typical characteristics of embedded software, such as the use of global variables, reactive behaviors, and its (soft or hard) real-time requirements, to name but a few. Abstraction is one of the major solutions to this problem, but existing proven abstraction techniques are not effective in this domain as they are uniformly applied to the entire program and often require a large number of refinements to find true alarms. This work proposes a domain-specific solution for efficient property falsification based on the observation that embedded software typically consists of a number of user-defined auxiliary functions, many of which may be loosely coupled with the main control logic. Our approach selectively abstracts auxiliary functions using function summaries synthesized by Programming-By-Example (PBE), which reduces falsification complexity as well as the number of refinements. The drawbacks of using PBE-based function summaries, which are neither sound nor complete, for abstraction are counteracted by symbolic alarm filtering and novel PBE-based refinements for function summaries. We demonstrate that the proposed approach has comparable performance to the state-of-the-art model checkers on SV-COMP benchmark programs and outperforms them on a set of typical embedded software in terms of both falsification efficiency and scalability.Keywords
Funding Information
- the Korea government (NRF-2021R1A5A102194)
This publication has 45 references indexed in Scilit:
- Progress on Software Verification: SV-COMP 20222022
- CoVeriTeam: On-Demand Composition of Cooperative Verification Systems2022
- Strategy Selection for Software Verification Based on Boolean Features2018
- Scaling Enumerative Program Synthesis via Divide and Conquer2017
- Interpolation-Based Function Summaries in Bounded Model Checking2012
- CPAchecker: A Tool for Configurable Software Verification2011
- Automated Assume-Guarantee Reasoning by Abstraction Refinement2008
- Lazy Abstraction with Interpolants2006
- A Tool for Checking ANSI-C Programs2004
- Counterexample-Guided Abstraction Refinement2000