skip to main content
10.1145/3484271.3484980acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
short-paper
Public Access

Implementation of an end-to-end gradual verification system

Published:17 October 2021Publication History

ABSTRACT

Static verification is used to ensure the correctness of programs. While useful in critical applications, the high overhead associated with writing specifications limits its general applicability. Similarly, the run-time costs introduced by dynamic verification limit its practicality. Gradual verification validates partially specified code statically where possible and dynamically where necessary. As a result, software developers gain granular control over the trade-offs between static and dynamic verification. This paper contains an end-to-end presentation of gradual verification in action, with a focus on applying it to C0 (a safe subset of C) and implementing the required dynamic verification.

References

  1. Rob Arnold. 2010. C0, an imperative programming language for novice computer scientists. Ph.D. Dissertation. Master’s thesis, Department of Computer Science, Carnegie Mellon University.Google ScholarGoogle Scholar
  2. Vytautas Astrauskas, Peter Müller, Federico Poli, and Alexander J Summers. 2019. Leveraging Rust types for modular specification and verification. Proceedings of the ACM on Programming Languages, 3, OOPSLA (2019), 1–30. https://doi.org/10.1145/3360573 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. J. Bader, J. Aldrich, and É. Tanter. 2018. Gradual Program Verification. In VMCAI. https://doi.org/10.1007/978-3-319-73721-8_2 Google ScholarGoogle ScholarCross RefCross Ref
  4. Marco Eilers and Peter Müller. 2018. Nagini: a static verifier for Python. In International Conference on Computer Aided Verification. 596–603. https://doi.org/10.1007/978-3-319-96145-3_33 Google ScholarGoogle ScholarCross RefCross Ref
  5. Ronald Garcia, Alison M. Clark, and Éric Tanter. 2016. Abstracting Gradual Typing. In Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL ’16). ACM, New York, NY, USA. 429–442. isbn:978-1-4503-3549-2 https://doi.org/10.1145/2837614.2837670 Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Peter Müller, Malte Schwerhoff, and Alexander J Summers. 2016. Viper: A verification infrastructure for permission-based reasoning. In International Conference on Verification, Model Checking, and Abstract Interpretation. 41–62. https://doi.org/10.1007/978-3-662-49122-5_2 Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Malte H Schwerhoff. 2016. Advancing Automated, Permission-Based Program Verification Using Symbolic Execution. Ph.D. Dissertation. ETH Zurich. https://doi.org/10.3929/ethz-a-010835519 Google ScholarGoogle ScholarCross RefCross Ref
  8. Jan Smans, Bart Jacobs, and Frank Piessens. 2009. Implicit dynamic frames: Combining dynamic frames and separation logic. In European Conference on Object-Oriented Programming. 148–172. https://doi.org/10.1007/978-3-642-03013-0_8 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Jenna Wise, Johannes Bader, Cameron Wong, Jonathan Aldrich, Éric Tanter, and Joshua Sunshine. 2020. Gradual Verification of Recursive Heap Data Structures.. In OOPSLA. https://doi.org/10.1145/3428296 Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Felix A Wolf, Linard Arquint, Martin Clochard, Wytse Oortwijn, João C Pereira, and Peter Müller. 2021. Gobra: Modular Specification and Verification of Go Programs. In International Conference on Computer Aided Verification. 367–379. https://doi.org/10.1007/978-3-030-81685-8_17 Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Mona Zhang and Jacob Gorenburg. 2020. Design and implementation of a gradual verifier. In Companion Proceedings of the 2020 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity. 31–33. https://doi.org/10.1145/3426430.3428137 Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Implementation of an end-to-end gradual verification system

      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
        SPLASH Companion 2021: Companion Proceedings of the 2021 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity
        October 2021
        33 pages
        ISBN:9781450390880
        DOI:10.1145/3484271

        Copyright © 2021 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: 17 October 2021

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • short-paper

        Upcoming Conference

      • Article Metrics

        • Downloads (Last 12 months)113
        • Downloads (Last 6 weeks)8

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader