English

Bounded Symbolic Execution for Runtime Error Detection of Erlang Programs

Programming Languages 2018-09-14 v1 Logic in Computer Science

Abstract

Dynamically typed languages, like Erlang, allow developers to quickly write programs without explicitly providing any type information on expressions or function definitions. However, this feature makes those languages less reliable than statically typed languages, where many runtime errors can be detected at compile time. In this paper, we present a preliminary work on a tool that, by using the well-known techniques of metaprogramming and symbolic execution, can be used to perform bounded verification of Erlang programs. In particular, by using Constraint Logic Programming, we develop an interpreter that, given an Erlang program and a symbolic input for that program, returns answer constraints that represent sets of concrete data for which the Erlang program generates a runtime error.

Keywords

Cite

@article{arxiv.1809.04770,
  title  = {Bounded Symbolic Execution for Runtime Error Detection of Erlang Programs},
  author = {Emanuele De Angelis and Fabio Fioravanti and Adrián Palacios and Alberto Pettorossi and Maurizio Proietti},
  journal= {arXiv preprint arXiv:1809.04770},
  year   = {2018}
}

Comments

In Proceedings HCVS 2018, arXiv:1809.04554

R2 v1 2026-06-23T04:04:50.669Z