In this paper, we propose a unified framework for designing static analysers based on program synthesis. For this purpose, we identify a fragment of second-order logic with restricted quantification that is expressive enough to capture numerous static analysis problems (e.g. safety proving, bug finding, termination and non-termination proving, superoptimisation). We call this fragment the synthesis fragment. We build a decision procedure for the synthesis fragment over finite domains in the form of a program synthesiser. Given our initial motivation to solve static analysis problems, this synthesiser is specialised for such analyses. Our experimental results show that, on benchmarks capturing static analysis problems, our program synthesiser compares positively with other general purpose synthesisers.
|Title of host publication||Logic for Programming, Artificial Intelligence, and Reasoning|
|Subtitle of host publication||20th International Conference, LPAR-20 2015, Suva, Fiji, November 24-28, 2015, Proceedings|
|Editors||Martin Davis, Ansgar Fehnker, Annabelle McIver, Andrei Voronkov|
|Number of pages||16|
|Publication status||E-pub ahead of print - 22 Nov 2015|
- Programming Languages