Precise and scalable static analysis of jQuery using a regular expression domain

Citations

SCOPUS

30

초록

JQuery is the most popular JavaScript library but the stateof- the-art static analyzers for JavaScript applications fail to analyze simple programs that use jQuery. In this paper, we present a novel abstract string domain whose elements are simple regular expressions that can represent prefix, infix, and postfix substrings of a string and even their sets.We formalize the new domain in the abstract interpretation framework with abstract models of strings and objects commonly used in the existing JavaScript analyzers. For practical use of the domain, we present polynomial-time inclusion decision rules between the regular expressions and prove that the rules exactly capture the actual inclusion relation. We have implemented the domain as an extension of the open-source JavaScript analyzer, SAFE, and we show that the extension significantly improves the scalability and precision of the baseline analyzer in analyzing programs that use jQuery. © 2016 ACM.

키워드

JavaScriptRegular expressionsStatic analysis
제목
Precise and scalable static analysis of jQuery using a regular expression domain
저자
Park, ChangheeIm, HyeonseungRyu, Sukyoung
DOI
10.1145/2989225.2989228
발행일
2016
유형
Conference paper
저널명
Proceedings of the 12th Symposium on Dynamic Languages
페이지
25 ~ 36