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

Optimizing Prestate Copies in Runtime Verification of Function Postconditions

  • Université Paris
  • Tarides

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

Résumé

In behavioural specifications of imperative languages, postconditions may refer to the prestate of the function, usually with an old operator. Therefore, code performing runtime verification has to record prestate values required to evaluate the postconditions, typically by copying part of the memory state, which causes severe verification overhead, both in memory and CPU time. In this paper, we consider the problem of efficiently capturing prestates in the context of Ortac, a runtime assertion checking tool for OCaml. Our contribution is a postcondition transformation that reduces the subset of the prestate to copy. We formalize this transformation, and we provide proof that it is sound and improves the performance of the instrumented programs. We illustrate the benefits of this approach with a maze generator. Our benchmarks show that unoptimized instrumentation is not practicable, while our transformation restores performances similar to the program without any runtime check.

langue originaleAnglais
titreRuntime Verification - 22nd International Conference, RV 2022, Proceedings
rédacteurs en chefThao Dang, Volker Stolz
EditeurSpringer Science and Business Media Deutschland GmbH
Pages85-104
Nombre de pages20
ISBN (imprimé)9783031171956
Les DOIs
étatPublié - 1 janv. 2022
Modification externeOui
Evénement22nd International Conference on Runtime Verification, RV 2022 - Tbilsi, Géorgie
Durée: 28 sept. 202230 sept. 2022

Série de publications

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

Une conférence

Une conférence22nd International Conference on Runtime Verification, RV 2022
Pays/TerritoireGéorgie
La villeTbilsi
période28/09/2230/09/22

Empreinte digitale

Examiner les sujets de recherche de « Optimizing Prestate Copies in Runtime Verification of Function Postconditions ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation