A semantics of structures, unions, and underspecified terms for formal specification - CEA - Commissariat à l’énergie atomique et aux énergies alternatives
Communication Dans Un Congrès Année : 2024

A semantics of structures, unions, and underspecified terms for formal specification

Résumé

ACSL is a behavioral interface specification language for C. It is used by Frama-C, a framework including several formal methods-based techniques for verifying C code with respect to ACSL annotations. Currently, there is no formal definition of the ACSL semantics, which may lead to different, possibly inconsistent, interpretations of the semantics by developers and users. This paper is a first step to solve this issue by formalizing a subset of the ACSL specification language in Coq. This semantics is based on Krebbers’ semantics of C. The paper focuses on two features: an equality for structures and unions, which are comparable in ACSL, contrary to C, and a logic for handling underspecified terms and predicates that the total logic of ACSL let us manipulate. Finally, we also provide a few properties of our formal semantics.
Fichier sous embargo
Fichier sous embargo
0 0 19
Année Mois Jours
Avant la publication
vendredi 6 décembre 2024
Fichier sous embargo
vendredi 6 décembre 2024
Connectez-vous pour demander l'accès au fichier

Dates et versions

cea-04480238 , version 1 (27-02-2024)

Identifiants

Citer

Louis Gauthier, Virgile Prevosto, Julien Signoles. A semantics of structures, unions, and underspecified terms for formal specification. FormaliSE 2024 - International Conference on Formal Methods in Software Engineering, Apr 2024, Lisbonne, Portugal. ⟨10.1145/3644033.3644380⟩. ⟨cea-04480238⟩
43 Consultations
52 Téléchargements

Altmetric

Partager

More