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

Cited 0 time in webofscience Cited 22 time in scopus
  • Hit : 161
  • Download : 0
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.
Publisher
Association for Computing Machinery, Inc
Issue Date
2016-11-01
Language
English
Citation

12th Symposium on Dynamic Languages, DLS 2016, pp.25 - 36

DOI
10.1145/2989225.2989228
URI
http://hdl.handle.net/10203/272283
Appears in Collection
CS-Conference Papers(학술회의논문)
Files in This Item
There are no files associated with this item.

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0