Abstract
This paper describes a case study to verify memory safety of a radio telescope pipeline, which was targeted with the PADRE project of Astron, SURF and the Netherlands eScienceCenter. As performance is important for this application, the implementation of the radio telescope pipeline should run on a GPU device. Therefore, we encoded the radio telescope pipeline using the Halide scheduling language, which achieved a significant speedup. Next, we used the HaliVer tool to automatically generate formal pre- and postconditions, loop invariants and assertions, which the deductive verifier VerCors can use to prove memory safety. We identified two challenges for the automatic generation of formal annotations for a tool such as VerCors. The first challenge was related to the flattening of multi-dimensional arrays to single arrays and the second challenge concerns the use of many arrays in a program in combination with many quantifiers to specify read and write permissions. For both challenges, we propose solutions, and implemented these. Not every solution proved successful. We discuss the lessons learned and future plans to solve a core scalability issue for large optimised parallel programs.
Original language | English |
---|---|
Title of host publication | Formal Methods for Industrial Critical Systems - 29th International Conference, FMICS 2024, Proceedings |
Editors | Anne E. Haxthausen, Wendelin Serwe |
Publisher | Springer |
Pages | 152-169 |
Number of pages | 18 |
ISBN (Print) | 9783031681493 |
DOIs | |
Publication status | Published - 21 Aug 2024 |
Event | 29th International Conference on Formal Methods for Industrial Critical Systems, FMICS 2024 - Milan, Italy Duration: 9 Sept 2024 → 11 Sept 2024 Conference number: 29 https://fmics.inria.fr/2024/ |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 14952 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 29th International Conference on Formal Methods for Industrial Critical Systems, FMICS 2024 |
---|---|
Abbreviated title | FMICS 2024 |
Country/Territory | Italy |
City | Milan |
Period | 9/09/24 → 11/09/24 |
Internet address |
Keywords
- 2025 OA procedure
- Formal Verification
- Nonlinear Integer Arithmetic
- Permission Quantifiers
- Scheduling Language
- Deductive Verification