Back to Search Start Over

Bounded Symbolic Execution for Runtime Error Detection of Erlang Programs

Authors :
Emanuele De Angelis
Fabio Fioravanti
Adrián Palacios
Alberto Pettorossi
Maurizio Proietti
Source :
Electronic Proceedings in Theoretical Computer Science, Vol 278, Iss Proc. HCVS 2018, Pp 19-26 (2018)
Publication Year :
2018
Publisher :
Open Publishing Association, 2018.

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.

Details

Language :
English
ISSN :
20752180
Volume :
278
Issue :
Proc. HCVS 2018
Database :
Directory of Open Access Journals
Journal :
Electronic Proceedings in Theoretical Computer Science
Publication Type :
Academic Journal
Accession number :
edsdoj.8ab9ef371784e27a7bbad553f0ff509
Document Type :
article
Full Text :
https://doi.org/10.4204/EPTCS.278.4