Journal article
Symbolic automata for representing big code
- Abstract:
- 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 partialness of a specification and the precision of a specification. We show interesting relationships between lattice operations of this domain and common operators for manipulating partial temporal specifications, such as building a more informative specification by consolidating two partial specifications, and comparing partial temporal specifications.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 706.3KB, Terms of use)
-
- Publisher copy:
- 10.1007/s00236-015-0234-1
Authors
+ Engineering and Physical Sciences Research Council
More from this funder
- Funding agency for:
- Yang, H
- Publisher:
- Springer Verlag
- Journal:
- Acta Informatica More from this journal
- Volume:
- 53
- Issue:
- 4
- Pages:
- 327-356
- Publication date:
- 2016-06-01
- DOI:
- EISSN:
-
1432-0525
- ISSN:
-
0001-5903
- Keywords:
- Pubs id:
-
pubs:581042
- UUID:
-
uuid:a594a7d2-c7c5-4a61-884b-0f44a89815b8
- Local pid:
-
pubs:581042
- Source identifiers:
-
581042
- Deposit date:
-
2016-01-03
- ARK identifier:
Terms of use
- Copyright holder:
- Springer Verlag
- Copyright date:
- 2016
- Notes:
- © Springer-Verlag Berlin Heidelberg 2015. This is the author accepted manuscript following peer review version of the article. The final version is available online from Springer at: dx.doi.org/10.1007/s00236-015-0234-1
If you are the owner of this record, you can report an update to it here: Report update to this record