ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
Points-to analysis for JavaScript
Full text PdfPdf (312 KB)
Source
Symposium on Applied Computing archive
Proceedings of the 2009 ACM symposium on Applied Computing table of contents
Honolulu, Hawaii
SESSION: Programming languages track table of contents
Pages: 1930-1937  
Year of Publication: 2009
ISBN:978-1-60558-166-8
Authors
Dongseok Jang  Korea Advanced Institute of Science & Technology
Kwang-Moo Choe  Korea Advanced Institute of Science & Technology
Sponsor
SIGAPP: ACM Special Interest Group on Applied Computing
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 16,   Downloads (12 Months): 152,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1529282.1529711
What is a DOI?

ABSTRACT

JavaScript is widely used by web developers and the complexity of JavaScript programs has increased over the last year. Therefore, the need for program analysis for JavaScript is evident. Points-to analysis for JavaScript is to determine the set of objects to which a reference variable or an object property may point. Points-to analysis for JavaScript is a basis for further program analyses for JavaScript. It has a wide range of applications in code optimization and software engineering tools. However, points-to analysis for JavaScript has not yet been developed.

JavaScript has dynamic features such as the runtime modification of objects through addition of properties or updating of methods. We propose a points-to analysis for JavaScript which precisely handles the dynamic features of JavaScript. Our work is the first attempt to analyze the points-to behavior of JavaScript. We evaluate the analysis on a set of JavaScript programs. We also apply the analysis to a code optimization technique to show that the analysis can be practically useful.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
L. Andersen. Program analysis and specialization for the C programming language. PhD thesis, University of Cophenhagen, 1994.
 
3
C. Anderson, P. Giannini, and S. Drossopoulou. Towards type inference for JavaScript. 19th European Conference on Object-Oriented Programming, pages 428--453, 2005.
 
4
5
 
6
ECMA International. ECMAScript language specification. Stardard ECMA-262, 3rd Edition, Dec 1999. http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf.
 
7
J. Garrett. Ajax: A new approach to web applications, 2005.
 
8
9
10
 
11
A. Le Hors, P. Le Hégaret, L. Wood, G. Nicol, J. Robie, M. Champion, and S. Byrne. Document object model (DOM) level 3 core specification (W3C recommendation), 2004. http://www.w3.org/TR/DOM-Level-3-Core.
12
13
 
14
The Webkit Open Source Project. Sunspider JavaScript benchmark, 2007. http://webkit.org/perf/sunspider-0.9/sunspider.html/.
 
15
The Mozilla Organization. Rhino: JavaScript for Java, 2004. http://www.mozilla.org/rhino/.
 
16
P. Thiemann. Towards a type system for analyzing JavaScript programs. European Symposium On Programming, pages 408--422, 2005.

Collaborative Colleagues:
Dongseok Jang: colleagues
Kwang-Moo Choe: colleagues