Ortac: Runtime Assertion Checking for OCaml (tool paper) - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2021

Ortac: Runtime Assertion Checking for OCaml (tool paper)

Résumé

Runtime assertion checking (RAC) is a convenient set of techniques that lets developers abstract away the process of verifying the correctness of their programs by writing formal specifications and automating their verification at runtime. In this work, we present ortac, a runtime assertion checking tool for OCaml libraries and programs. OCaml is a functional programming language in which idioms rely on an expressive type system, modules, and interface abstractions. ortac consumes interfaces annotated with type invariants and function contracts and produces code wrappers with the same signature that check these specifications at runtime. It provides a flexible framework for traditional assertion checking, monitoring misbehaviors without interruptions, and automated fuzz testing for OCaml programs. This paper presents an overview of ortac features and highlights its main design choices.
Fichier principal
Vignette du fichier
RV_2021.pdf (222.7 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03252901 , version 1 (08-06-2021)
hal-03252901 , version 2 (16-08-2021)

Identifiants

  • HAL Id : hal-03252901 , version 1

Citer

Jean-Christophe Filliâtre, Clément Pascutto. Ortac: Runtime Assertion Checking for OCaml (tool paper). 2021. ⟨hal-03252901v1⟩
304 Consultations
441 Téléchargements

Partager

Gmail Facebook X LinkedIn More