[Paper Review] Incremental Bounded Model Checking for Embedded Software (extended version)
This paper presents an incremental bounded model checking (BMC) technique for embedded C software that leverages incremental SAT solving to avoid redundant computation across successive loop unwindings. By reusing previous solving work, the approach reduces verification time by up to one order of magnitude compared to non-incremental BMC, significantly improving scalability for industrial embedded systems verification.
Program analysis is on the brink of mainstream in embedded systems development. Formal verification of behavioural requirements, finding runtime errors and automated test case generation are some of the most common applications of automated verification tools based on Bounded Model Checking. Existing industrial tools for embedded software use an off-the-shelf Bounded Model Checker and apply it iteratively to verify the program with an increasing number of unwindings. This approach unnecessarily wastes time repeating work that has already been done and fails to exploit the power of incremental SAT solving. This paper reports on the extension of the software model checker CBMC to support incremental Bounded Model Checking and its successful integration with the industrial embedded software verification tool BTC EmbeddedTester. We present an extensive evaluation over large industrial embedded programs, which shows that incremental Bounded Model Checking cuts runtimes by one order of magnitude in comparison to the standard non-incremental approach, enabling the application of formal verification to large and complex embedded software.
Motivation & Objective
- To address the inefficiency of non-incremental bounded model checking in embedded software verification, where repeated SAT solving across increasing unwindings wastes significant time.
- To integrate incremental SAT solving into a software model checker tailored for industrial C programs, exploiting structural similarities between embedded control loops and hardware transition relations.
- To evaluate the performance gains of incremental BMC on large-scale industrial benchmarks and demonstrate its practical viability in real-world verification tools.
- To enable industrial adoption by integrating the technique into the BTC EmbeddedTester and EmbeddedValidator tools, now used by hundreds of industrial users.
Proposed method
- Extends the Cbmc tool with incremental BMC support, reusing SAT solver states across successive unwindings to avoid recomputing previously solved formulae.
- Applies symbolic execution and program slicing to reduce the size of the verification formulae before SAT solving, improving efficiency.
- Introduces incremental SAT solving not only for loop unwinding but also for other verification tasks such as path exploration and property checking.
- Employs a hybrid approach combining bounded model checking with incremental SAT solving to verify safety properties and generate counterexamples.
- Validates the approach using a large set of industrial embedded C benchmarks, comparing performance against non-incremental BMC and the TACUS 2014 competition winner.
- Integrates the enhanced model checker into BTC EmbeddedTester and EmbeddedValidator, enabling industrial deployment since versions 3.4 and 4.3.
Experimental results
Research questions
- RQ1Can incremental SAT solving significantly reduce the runtime of bounded model checking for embedded C programs?
- RQ2To what extent does incremental BMC outperform non-incremental BMC in terms of scalability on industrial embedded software?
- RQ3How effective is incremental BMC in reducing redundant computation during successive loop unwindings in embedded control software?
- RQ4Can incremental BMC be successfully integrated into industrial verification tools and adopted in practice?
- RQ5Does incremental BMC maintain high accuracy (no false positives) while achieving substantial performance improvements?
Key findings
- The incremental BMC approach reduces verification runtime by up to one order of magnitude compared to non-incremental BMC on large industrial embedded benchmarks.
- The performance gain is consistent across diverse industrial programs, demonstrating robust scalability for complex embedded systems.
- The method outperforms the winner of the TACAS 2014 Software Verification Competition by a factor of ten in terms of runtime efficiency.
- The integration into BTC EmbeddedTester and EmbeddedValidator has enabled hundreds of industrial users to perform faster and more scalable verification.
- Incremental SAT solving effectively reuses prior computation, eliminating redundant work across successive unwindings without loss of precision.
- The approach maintains full accuracy, generating valid counterexamples and supporting test vector generation for coverage-driven testing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.