کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
418796 | 681719 | 2015 | 24 صفحه PDF | دانلود رایگان |
• 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.
Journal: Computer Languages, Systems & Structures - Volume 44, Part A, December 2015, Pages 48–71