作者
Hila Peleg, Sharon Shoham, Eran Yahav, Hongseok Yang
发表日期
2016/6/1
期刊
Acta Informatica
卷号
53
期号
4
页码范围
327-356
出版商
Springer Berlin Heidelberg
简介
Analysis of massive codebases (“big code”) presents an opportunity for drawing insights about programming practice and enabling code reuse. One of the main challenges in analyzing big code is finding a representation that captures sufficient semantic information, can be constructed efficiently, and is amenable to meaningful comparison operations. We present a formal framework for representing code in large codebases. In our framework, the semantic descriptor for each code snippet is a partial temporal specification that captures the sequences of method invocations on an API. The main idea is to represent partial temporal specifications as symbolic automata—automata where transitions may be labeled by variables, and a variable can be substituted by a letter, a word, or a regular language. Using symbolic automata, we construct an abstract domain for static analysis of big code, capturing both the …
引用总数
2015201620172018112
学术搜索中的文章
H Peleg, S Shoham, E Yahav, H Yang - Acta Informatica, 2016