Article ID Journal Published Year Pages File Type
418796 Computer Languages, Systems & Structures 2015 24 Pages PDF
Abstract

•We propose a language-independent symbolic execution framework for languages.•The proposed language-independent approach is based on language transformations.•We prove that the expected formal properties of symbolic execution.•We present a prototype and we use it on several languages.

We propose a language-independent symbolic execution framework for languages endowed with a formal operational semantics based on term rewriting. Starting from a given definition of a language, a new language definition is generated, with the same syntax as the original one, but whose semantical rules are transformed in order to rewrite over logical formulas denoting possibly infinite sets of program states. Then, the symbolic execution of concrete programs is, by definition, the execution of the same programs with the symbolic semantics. We prove that the symbolic execution thus defined has the properties naturally expected from it (with respect to concrete program execution). A prototype implementation of our approach was developed in the KK framework. We demonstrate the tool׳s genericity by instantiating it on several languages, and illustrate it on the reachability analysis and model checking of several programs.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics
Authors
, , ,