Cargando…
Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution)
We describe the new features of the bounded model checker Dartagnan for SV-COMP ’21. We participate, for the first time, in the ReachSafety category on the verification of sequential programs. In some of these verification tasks, bugs only show up after many loop iterations, which is a challenge for...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984541/ http://dx.doi.org/10.1007/978-3-030-72013-1_26 |
_version_ | 1783668086936698880 |
---|---|
author | Ponce-de-León, Hernán Haas, Thomas Meyer, Roland |
author_facet | Ponce-de-León, Hernán Haas, Thomas Meyer, Roland |
author_sort | Ponce-de-León, Hernán |
collection | PubMed |
description | We describe the new features of the bounded model checker Dartagnan for SV-COMP ’21. We participate, for the first time, in the ReachSafety category on the verification of sequential programs. In some of these verification tasks, bugs only show up after many loop iterations, which is a challenge for bounded model checking. We address the challenge by simplifying the structure of the input program while preserving its semantics. For simplification, we leverage common compiler optimizations, which we get for free by using LLVM. Yet, there is a price to pay. Compiler optimizations may introduce bitwise operations, which require bit-precise reasoning. We evaluated an SMT encoding based on the theory of integers + bit conversions against one based on the theory of bit-vectors and found that the latter yields better performance. Compared to the unoptimized version of Dartagnan, the combination of compiler optimizations and bit-vectors yields a speed-up of an order of magnitude on average. |
format | Online Article Text |
id | pubmed-7984541 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
record_format | MEDLINE/PubMed |
spelling | pubmed-79845412021-03-23 Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) Ponce-de-León, Hernán Haas, Thomas Meyer, Roland Tools and Algorithms for the Construction and Analysis of Systems Article We describe the new features of the bounded model checker Dartagnan for SV-COMP ’21. We participate, for the first time, in the ReachSafety category on the verification of sequential programs. In some of these verification tasks, bugs only show up after many loop iterations, which is a challenge for bounded model checking. We address the challenge by simplifying the structure of the input program while preserving its semantics. For simplification, we leverage common compiler optimizations, which we get for free by using LLVM. Yet, there is a price to pay. Compiler optimizations may introduce bitwise operations, which require bit-precise reasoning. We evaluated an SMT encoding based on the theory of integers + bit conversions against one based on the theory of bit-vectors and found that the latter yields better performance. Compared to the unoptimized version of Dartagnan, the combination of compiler optimizations and bit-vectors yields a speed-up of an order of magnitude on average. 2021-02-26 /pmc/articles/PMC7984541/ http://dx.doi.org/10.1007/978-3-030-72013-1_26 Text en © The Author(s) 2021 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), 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 license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license 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. |
spellingShingle | Article Ponce-de-León, Hernán Haas, Thomas Meyer, Roland Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) |
title | Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) |
title_full | Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) |
title_fullStr | Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) |
title_full_unstemmed | Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) |
title_short | Dartagnan: Leveraging Compiler Optimizations and the Price of Precision (Competition Contribution) |
title_sort | dartagnan: leveraging compiler optimizations and the price of precision (competition contribution) |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7984541/ http://dx.doi.org/10.1007/978-3-030-72013-1_26 |
work_keys_str_mv | AT poncedeleonhernan dartagnanleveragingcompileroptimizationsandthepriceofprecisioncompetitioncontribution AT haasthomas dartagnanleveragingcompileroptimizationsandthepriceofprecisioncompetitioncontribution AT meyerroland dartagnanleveragingcompileroptimizationsandthepriceofprecisioncompetitioncontribution |