Compositional Symbolic Execution for the Next 700 Memory Models (Extended Version)

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lööw, Andreas, Park, Seung Hoon, Nantes-Sobrinho, Daniele, Ayoun, Sacha-Élie, Sjöstedt, Opale, Gardner, Philippa
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918131150094336
author Lööw, Andreas
Park, Seung Hoon
Nantes-Sobrinho, Daniele
Ayoun, Sacha-Élie
Sjöstedt, Opale
Gardner, Philippa
author_facet Lööw, Andreas
Park, Seung Hoon
Nantes-Sobrinho, Daniele
Ayoun, Sacha-Élie
Sjöstedt, Opale
Gardner, Philippa
contents Multiple successful compositional symbolic execution (CSE) tools and platforms exploit separation logic (SL) for compositional verification and/or incorrectness separation logic (ISL) for compositional bug-finding, including VeriFast, Viper, Gillian, CN, and Infer-Pulse. Previous work on the Gillian platform, the only CSE platform that is parametric on the memory model, meaning that it can be instantiated to different memory models, suggests that the ability to use custom memory models allows for more flexibility in supporting analysis of a wide range of programming languages, for implementing custom automation, and for improving performance. However, the literature lacks a satisfactory formal foundation for memory-model-parametric CSE platforms. In this paper, inspired by Gillian, we provide a new formal foundation for memory-model-parametric CSE platforms. Our foundation advances the state of the art in four ways. First, we mechanise our foundation (in the interactive theorem prover Rocq). Second, we validate our foundation by instantiating it to a broad range of memory models, including models for C and CHERI. Third, whereas previous memory-model-parametric work has only covered SL analyses, we cover both SL and ISL analyses. Fourth, our foundation is based on standard definitions of SL and ISL (including definitions of function specification validity, to ensure sound interoperation with other tools and platforms also based on standard definitions).
format Preprint
id arxiv_https___arxiv_org_abs_2508_15576
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Compositional Symbolic Execution for the Next 700 Memory Models (Extended Version)
Lööw, Andreas
Park, Seung Hoon
Nantes-Sobrinho, Daniele
Ayoun, Sacha-Élie
Sjöstedt, Opale
Gardner, Philippa
Programming Languages
Multiple successful compositional symbolic execution (CSE) tools and platforms exploit separation logic (SL) for compositional verification and/or incorrectness separation logic (ISL) for compositional bug-finding, including VeriFast, Viper, Gillian, CN, and Infer-Pulse. Previous work on the Gillian platform, the only CSE platform that is parametric on the memory model, meaning that it can be instantiated to different memory models, suggests that the ability to use custom memory models allows for more flexibility in supporting analysis of a wide range of programming languages, for implementing custom automation, and for improving performance. However, the literature lacks a satisfactory formal foundation for memory-model-parametric CSE platforms. In this paper, inspired by Gillian, we provide a new formal foundation for memory-model-parametric CSE platforms. Our foundation advances the state of the art in four ways. First, we mechanise our foundation (in the interactive theorem prover Rocq). Second, we validate our foundation by instantiating it to a broad range of memory models, including models for C and CHERI. Third, whereas previous memory-model-parametric work has only covered SL analyses, we cover both SL and ISL analyses. Fourth, our foundation is based on standard definitions of SL and ISL (including definitions of function specification validity, to ensure sound interoperation with other tools and platforms also based on standard definitions).
title Compositional Symbolic Execution for the Next 700 Memory Models (Extended Version)
topic Programming Languages
url https://arxiv.org/abs/2508.15576