English

Symbolic Execution Game Semantics

Programming Languages 2020-02-24 v1

Abstract

We present a framework for symbolically executing and model checking higher-order programs with external (open) methods. We focus on the client-library paradigm and in particular we aim to check libraries with respect to any definable client. We combine traditional symbolic execution techniques with operational game semantics to build a symbolic execution semantics that captures arbitrary external behaviour. We prove the symbolic semantics to be sound and complete. This yields a bounded technique by imposing bounds on the depth of recursion and callbacks. We provide an implementation of our technique in the K framework and showcase its performance on a custom benchmark based on higher-order coding errors such as reentrancy bugs.

Keywords

Cite

@article{arxiv.2002.09115,
  title  = {Symbolic Execution Game Semantics},
  author = {Yu-Yang Lin and Nikos Tzevelekos},
  journal= {arXiv preprint arXiv:2002.09115},
  year   = {2020}
}

Comments

41 pages, 5 figures