skip to main content
10.1145/3236024.3264840acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
research-article

Towards counterexample-guided k-induction for fast bug detection

Published:26 October 2018Publication History

ABSTRACT

Recently, the k-induction algorithm has proven to be a successful approach for both finding bugs and proving correctness. However, since the algorithm is an incremental approach, it might waste resources trying to prove incorrect programs. In this paper, we extend the k-induction algorithm to shorten the number of steps required to find a property violation. We convert the algorithm into a meet-in-the-middle bidirectional search algorithm, using the counterexample produced from over-approximating the program. The main advantage is in the reduction of the state explosion by reducing the maximum required steps from k to ⌊k/2 + 1⌋.

References

  1. Dirk Beyer. 2017. Software Verification With Validation Of Results (Report On SV-COMP 2017). In TACAS (LNCS), Vol. 10206. 331–349. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Armin Biere. 2009.Google ScholarGoogle Scholar
  3. Handbook Of Satisfiability. Vol. 185. IOS Press, Chapter 14, 455–481.Google ScholarGoogle Scholar
  4. Armin Biere, Alessandro Cimatti, Edmund Clarke, and Yunshan Zhu. 1999. Symbolic Model Checking Without BDDs. In TACAS (LNCS), Vol. 1633. 193–207. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Gabriel P. Bischoff, Karl S. Brace, G. Cabodi, and S. Nocco, S.and Quer. 2005.Google ScholarGoogle Scholar
  6. Exploiting Target Enlargement And Dynamic Abstraction Within Mixed BDD And SAT Invariant Checking. Electronic Notes in Theoretical Computer Science 119, 2 (2005), 33–49. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Edmund Clarke, Daniel Kroening, and Flavio Lerda. 2004. A Tool For Checking ANSI-C Programs. In TACAS (LNCS), Vol. 2988. 168–176.Google ScholarGoogle Scholar
  8. Lucas C. Cordeiro, Bernd Fischer, and João Marques-Silva. 2012.Google ScholarGoogle Scholar
  9. SMT-Based Bounded Model Checking For Embedded ANSI-C Software. IEEE Transactions on Software Engineering 38, 4 (2012), 957–974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Zakir Durumeric, James Kasten, David Adrian, J. Alex Halderman, Michael Bailey, Frank Li, Nicolas Weaver, Johanna Amann, Jethro Beekman, Mathias Payer, and Vern Paxson. 2014. The Matter Of Heartbleed. In IMC. 475–488. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Mikhail R. Gadelha, Felipe R. Monteiro, Jeremy Morse, Lucas C. Cordeiro, Bernd Fischer, and Denis A. Nicole. 2018. ESBMC 5.0: An Industrial-Strength C Model Checker. In ASE. ACM, 888–891. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Mikhail Y. R. Gadelha, Hussama I. Ismail, and Lucas C. Cordeiro. 2017. Handling Loops In Bounded Model Checking Of C Programs Via K-induction. STTT 19, 1 (2017), 97–114. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Steve Heath. 2003.Google ScholarGoogle Scholar
  14. Embedded Systems Design. Newnes, Oxford, United Kingdom. 430 pages.Google ScholarGoogle Scholar
  15. Dejan Jovanović and Bruno Dutertre. 2016. Property-directed k-induction. In FMCAD. 85–92. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Daniel Kroening, Joël Ouaknine, Ofer Strichman, Thomas Wahl, and James Worrell. 2011. Linear Completeness Thresholds For Bounded Model Checking. In CAV (LNCS), Vol. 6806. 557–572. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Florian Merz, Stephan Falke, and Carsten Sinz. 2012. LLBMC: Bounded Model Checking Of C And C++ Programs Using A Compiler IR. In VSTTE (LNCS), Vol. 7152. 146–161. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Felipe R. Monteiro, Erickson H. da S. Alves, Isabela S. Silva, Hussama I. Ismail, Lucas C. Cordeiro, and Eddie B. de Lima Filho. 2018. ESBMC-GP U A Context-Bounded Model Checking Tool To Verify CUDA Programs. Science of Computer Programming 152 (2018), 63 – 69. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Shaz Qadeer and Jakob Rehof. 2005.Google ScholarGoogle Scholar
  20. Context-Bounded Model Checking Of Concurrent Software. In TACAS (LNCS), Vol. 3440. 93–107. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Mary Sheeran, Satnam Singh, and Gunnar Stålmarck. 2000.Google ScholarGoogle Scholar

Index Terms

  1. Towards counterexample-guided k-induction for fast bug detection

        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 Conferences
          ESEC/FSE 2018: Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering
          October 2018
          987 pages
          ISBN:9781450355735
          DOI:10.1145/3236024

          Copyright © 2018 ACM

          Permission to make digital or hard copies of all or part 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 components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 26 October 2018

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate112of543submissions,21%

          Upcoming Conference

          FSE '24

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader