Abstract Interpretation of Recursive Logic Definitions for Efficient Runtime Assertion Checking

Thibaut Benajmin, Julien Signoles

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Runtime Assertion Checking (RAC) is a lightweight formal method for verifying at runtime code properties written in a formal specification language. One of the main challenge of RAC is to check the properties efficiently, while emitting sound verdicts. In particular, arithmetic properties are only efficiently verified using machine integers, yet soundness can only be achieved by using an exact but slower exact arithmetic library. This paper presents how E-ACSL, a RAC tool for C programs, applies abstract interpretation for efficiently and soundly supporting arithmetic properties. Abstract interpretation provides sound static information regarding the size of terms involved in runtime assertions in order to choose at compile time whether machine integers or exact arithmetic will be used at runtime on a case by case basis. Our specification language includes recursive user-defined logic functions and predicates, for which we rely on fast fixpoint operators based on widening of abstract values.

Original languageEnglish
Title of host publicationTests and Proofs - 17th International Conference, TAP 2023, Proceedings
EditorsVirgile Prevosto, Cristina Seceleanu
PublisherSpringer Science and Business Media Deutschland GmbH
Pages168-186
Number of pages19
ISBN (Print)9783031388279
DOIs
Publication statusPublished - 1 Jan 2023
Externally publishedYes
EventProceedings of the 17th International Conference, TAP 2023 - Leicester, United Kingdom
Duration: 18 Jul 202319 Jul 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14066 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceProceedings of the 17th International Conference, TAP 2023
Country/TerritoryUnited Kingdom
CityLeicester
Period18/07/2319/07/23

Fingerprint

Dive into the research topics of 'Abstract Interpretation of Recursive Logic Definitions for Efficient Runtime Assertion Checking'. Together they form a unique fingerprint.

Cite this