Weakly sensitive analysis for unbounded iteration over JavaScript objects

Cited 0 time in webofscience Cited 6 time in scopus
  • Hit : 146
  • Download : 0
JavaScript framework libraries like jQuery are widely used, but complicate program analyses. Indeed, they encode clean high-level constructions such as class inheritance via dynamic object copies and transformations that are harder to reason about. One common pattern used in them consists of loops that copy or transform part or all of the fields of an object. Such loops are challenging to analyze precisely, due to weak updates and as unrolling techniques do not always apply. In this paper, we observe that precise field correspondence relations are required for client analyses (e.g., for call-graph construction), and propose abstractions of objects and program executions that allow to reason separately about the effect of distinct iterations without resorting to full unrolling. We formalize and implement an analysis based on this technique. We assess the performance and precision on the computation of call-graph information on examples from jQuery tutorials.
Publisher
Springer Verlag
Issue Date
2017-11-29
Language
English
Citation

15th Asian Symposium on Programming Languages and Systems, APLAS 2017, pp.148 - 168

DOI
10.1007/978-3-319-71237-6_8
URI
http://hdl.handle.net/10203/272923
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