Cargando…
SMT-based verification of program changes through summary repair
This article provides an innovative approach for verification by model checking of programs that undergo continuous changes. To tackle the problem of repeating the entire model checking for each new version of the program, our approach verifies programs incrementally. It reuses computational history...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10564826/ https://www.ncbi.nlm.nih.gov/pubmed/37829793 http://dx.doi.org/10.1007/s10703-023-00423-0 |
_version_ | 1785118562299412480 |
---|---|
author | Asadi, Sepideh Blicha, Martin Hyvärinen, Antti E. J. Fedyukovich, Grigory Sharygina, Natasha |
author_facet | Asadi, Sepideh Blicha, Martin Hyvärinen, Antti E. J. Fedyukovich, Grigory Sharygina, Natasha |
author_sort | Asadi, Sepideh |
collection | PubMed |
description | This article provides an innovative approach for verification by model checking of programs that undergo continuous changes. To tackle the problem of repeating the entire model checking for each new version of the program, our approach verifies programs incrementally. It reuses computational history of the previous program version, namely function summaries. In particular, the summaries are over-approximations of the bounded program behaviors. Whenever reusing of summaries is not possible straight away, our algorithm repairs the summaries to maximize the chance of reusability of them for subsequent runs. We base our approach on satisfiability modulo theories (SMT) to take full advantage of lightweight modeling approach and at the same time the ability to provide concise function summarization. Our approach leverages pre-computed function summaries in SMT to localize the checks of changed functions. Furthermore, to exploit the trade-off between precision and performance, our approach relies on the use of an SMT solver, not only for underlying reasoning, but also for program modeling and the adjustment of its precision. On the benchmark suite of primarily Linux device drivers versions, we demonstrate that our algorithm achieves an order of magnitude speedup compared to prior approaches. |
format | Online Article Text |
id | pubmed-10564826 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-105648262023-10-12 SMT-based verification of program changes through summary repair Asadi, Sepideh Blicha, Martin Hyvärinen, Antti E. J. Fedyukovich, Grigory Sharygina, Natasha Form Methods Syst Des Article This article provides an innovative approach for verification by model checking of programs that undergo continuous changes. To tackle the problem of repeating the entire model checking for each new version of the program, our approach verifies programs incrementally. It reuses computational history of the previous program version, namely function summaries. In particular, the summaries are over-approximations of the bounded program behaviors. Whenever reusing of summaries is not possible straight away, our algorithm repairs the summaries to maximize the chance of reusability of them for subsequent runs. We base our approach on satisfiability modulo theories (SMT) to take full advantage of lightweight modeling approach and at the same time the ability to provide concise function summarization. Our approach leverages pre-computed function summaries in SMT to localize the checks of changed functions. Furthermore, to exploit the trade-off between precision and performance, our approach relies on the use of an SMT solver, not only for underlying reasoning, but also for program modeling and the adjustment of its precision. On the benchmark suite of primarily Linux device drivers versions, we demonstrate that our algorithm achieves an order of magnitude speedup compared to prior approaches. Springer US 2023-05-04 2022 /pmc/articles/PMC10564826/ /pubmed/37829793 http://dx.doi.org/10.1007/s10703-023-00423-0 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Asadi, Sepideh Blicha, Martin Hyvärinen, Antti E. J. Fedyukovich, Grigory Sharygina, Natasha SMT-based verification of program changes through summary repair |
title | SMT-based verification of program changes through summary repair |
title_full | SMT-based verification of program changes through summary repair |
title_fullStr | SMT-based verification of program changes through summary repair |
title_full_unstemmed | SMT-based verification of program changes through summary repair |
title_short | SMT-based verification of program changes through summary repair |
title_sort | smt-based verification of program changes through summary repair |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10564826/ https://www.ncbi.nlm.nih.gov/pubmed/37829793 http://dx.doi.org/10.1007/s10703-023-00423-0 |
work_keys_str_mv | AT asadisepideh smtbasedverificationofprogramchangesthroughsummaryrepair AT blichamartin smtbasedverificationofprogramchangesthroughsummaryrepair AT hyvarinenanttiej smtbasedverificationofprogramchangesthroughsummaryrepair AT fedyukovichgrigory smtbasedverificationofprogramchangesthroughsummaryrepair AT sharyginanatasha smtbasedverificationofprogramchangesthroughsummaryrepair |