Passer à la navigation principale Passer à la recherche Passer au contenu principal

Context generation from formal specifications for C analysis tools

  • TrustInSoft
  • LIST-DTSI-SLA CEA

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

Analysis tools like abstract interpreters, symbolic execution tools and testing tools usually require a proper context to give useful results when analyzing a particular function. Such a context initializes the function parameters and global variables to comply with function requirements. However it may be error-prone to write it by hand: the handwritten context might contain bugs or not match the intended specification. A more robust approach is to specify the context in a dedicated specification language, and hold the analysis tools to support it properly. This may mean to put significant development efforts for enhancing the tools, something that is often not feasible if ever possible. This paper presents a way to systematically generate such a context from a formal specification of a C function. This is applied to a subset of the ACSL specification language in order to generate suitable contexts for the abstract interpretation-based value analysis plug-ins of Frama-C, a framework for analysis of code written in C. The idea here presented has been implemented in a new Frama-C plug-in which is currently in use in an operational industrial setting.

langue originaleAnglais
titreLogic-Based Program Synthesis and Transformation - 27th International Symposium, LOPSTR 2017, Revised Selected Papers
rédacteurs en chefFabio Fioravanti, John P. Gallagher
EditeurSpringer Verlag
Pages93-111
Nombre de pages19
ISBN (imprimé)9783319944593
Les DOIs
étatPublié - 1 janv. 2018
Modification externeOui
Evénement27th International Symposium on Logic-Based Program Synthesis and Transformation, LOPSTR 2017 - Namur, Belgique
Durée: 10 oct. 201712 oct. 2017

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10855 LNCS
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence27th International Symposium on Logic-Based Program Synthesis and Transformation, LOPSTR 2017
Pays/TerritoireBelgique
La villeNamur
période10/10/1712/10/17

Empreinte digitale

Examiner les sujets de recherche de « Context generation from formal specifications for C analysis tools ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation