skip to main content
10.1145/2791060.2791119acmotherconferencesArticle/Chapter ViewAbstractPublication PagessplcConference Proceedingsconference-collections
invited-talk

Family-based model checking using off-the-shelf model checkers: extended abstract

Published:20 July 2015Publication History

ABSTRACT

Model checking provides a convenient way to check whether a given software system is correct with respect to a set of relevant semantic properties. To use a model checker like SPIN [5], the software system must be modelled as a transition system (TS). Afterwards, the model checker can check the correctness of the translated TS by exhaustively exploring all possible transitions.

For families of software systems Classen et al. [1] present a lifted model checker SNIP, where each family is modelled as a Featured TS [2] that has transitions guarded by feature expressions. SNIP is highly specialized and uses heuristics to avoid naïvely iterating through all possible variations; however, the number of configurations is still exponential in size and thus the model checker can only feasibly handle systems of a limited size.

We adapt our previous work on applying variability abstraction to lifted data-flow analysis [3] to the setting of lifted model checking. We present a calculus of variability abstractions that trade precision for speed while preserving correctness [4]. The abstractions work symbiotically with the lifted model checker SNIP, but can also work with the classical and efficient off-the-shelf model checker SPIN without requiring any knowledge of variability. We prove semantically how each abstraction operation in the calculus forms a Galois collection, and therefore is suitable to use in abstract interpretation of Featured TS. Furthermore, we present an equivalent lightweight syntactic transformation tool that works directly on the input text files and does not require explicitly constructing the corresponding Featured TS in memory.

Our results show that there are orders of magnitudes to be gained in performance compared to performing lifted analysis alone; we show how our tool scales better than the existing tools and makes analysing some previously infeasible models feasible. Furthermore, we also show that many models could be verified swiftly using the abstracted analysis without requiring all of the precision that a concrete analysis provides.

References

  1. A. Classen, M. Cordy, P. Heymans, A. Legay, and P. Schobbens. Model checking software product lines with SNIP. STTT, 14(5):589--612, 2012.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. A. Classen, M. Cordy, P. Schobbens, P. Heymans, A. Legay, and J. Raskin. Featured transition systems: Foundations for verifying variability-intensive systems and their application to LTL model checking. IEEE Trans. Software Eng., 39(8):1069--1089, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Dimovski, C. Brabrand, and A. Wąsowski. Variability abstractions: Trading precision for speed in family-based analyses. In ECOOP 2015 - Object-Oriented Programming - 29th European Conference, 2015. To Appear.Google ScholarGoogle Scholar
  4. A. S. Dimovski, A. S. Al-Sibahi, C. Brabrand, and A. Wąsowski. Family-based model checking without a family-based model checker. In Model Checking Software, 22nd International SPIN Workshop, Stellenbosch, South Africa, August 24-26, 2015, 2015. To Appear.Google ScholarGoogle Scholar
  5. G. J. Holzmann. The SPIN Model Checker - primer and reference manual. Addison-Wesley, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. Family-based model checking using off-the-shelf model checkers: extended abstract

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          SPLC '15: Proceedings of the 19th International Conference on Software Product Line
          July 2015
          460 pages
          ISBN:9781450336130
          DOI:10.1145/2791060

          Copyright © 2015 Owner/Author

          Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 20 July 2015

          Check for updates

          Qualifiers

          • invited-talk

          Acceptance Rates

          SPLC '15 Paper Acceptance Rate34of87submissions,39%Overall Acceptance Rate167of463submissions,36%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader