Skip to main navigation Skip to search Skip to main content

Ortac: Runtime Assertion Checking for OCaml (Tool Paper)

  • Université Paris
  • Tarides

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

3 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publicationRuntime Verification - 21st International Conference, RV 2021, Proceedings
EditorsLu Feng, Dana Fisman
PublisherSpringer Science and Business Media Deutschland GmbH
Pages244-253
Number of pages10
ISBN (Print)9783030884932
DOIs
Publication statusPublished - 1 Jan 2021
Externally publishedYes
Event21st International Conference on Runtime Verification, RV 2021 - Virtual, Online
Duration: 11 Oct 2021 → 14 Oct 2021

Publication series

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

Conference

Conference21st International Conference on Runtime Verification, RV 2021
CityVirtual, Online
Period11/10/21 → 14/10/21

Keywords

  • OCaml
  • Runtime assertion checking
  • Software engineering

Fingerprint

Dive into the research topics of 'Ortac: Runtime Assertion Checking for OCaml (Tool Paper)'. Together they form a unique fingerprint.

Cite this