Type Analysis for Java']JavaScript

被引:0
|
作者
Jensen, Simon Holm [1 ]
Moller, Anders [1 ]
Thiemann, Peter [2 ]
机构
[1] Aarhus Univ, DK-8000 Aarhus C, Denmark
[2] Univ Freiburg, Freiburg, Germany
来源
STATIC ANALYSIS | 2009年 / 5673卷
关键词
SYSTEM;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
JavaScript is the main scripting language for Web browsers, and it is essential to modern Web applications. Programmers have started using it for writing complex applications, but there is still little tool support available during development. We present a static program analysis infrastructure that can infer detailed and sound type information for JavaScript programs using abstract interpretation. The analysis is designed to support the full language as defined in the ECMAScript standard, including its peculiar object model and all built-in functions. The analysis results can be used to detect common programming errors - or rather, prove their absence, and for producing type information for program comprehension. Preliminary experiments conducted on real-life JavaScript code indicate that the approach is promising regarding analysis precision on small and medium size programs, which constitute the majority of JavaScript applications. With potential for further improvement,, we propose the analysis as a foundation for building tools that can aid JavaScript programmers.
引用
收藏
页码:238 / +
页数:3
相关论文
共 50 条
  • [21] An Analysis of the Dynamic Behavior of Java']JavaScript Programs
    Richards, Gregor
    Lebresne, Sylvain
    Burg, Brian
    Vitek, Jan
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (06) : 1 - 12
  • [22] CSRF protection in Java']JavaScript frameworks and the security of Java']JavaScript applications
    Peguero, Ksenia
    Cheng, Xiuzhen
    [J]. HIGH-CONFIDENCE COMPUTING, 2021, 1 (02):
  • [23] RATA: Rapid Atomic Type Analysis by Abstract Interpretation - Application to Java']JavaScript Optimization
    Logozzo, Francesco
    Venter, Herman
    [J]. COMPILER CONSTRUCTION, PROCEEDINGS, 2010, 6011 : 66 - 83
  • [24] The Essence of Java']JavaScript
    Guha, Arjun
    Saftoiu, Claudiu
    Krishnamurthi, Shriram
    [J]. ECOOP 2010: OBJECT-ORIENTED PROGRAMMING, 2010, 6183 : 126 - 150
  • [25] Java']JavaScript.
    Gillespie, T
    [J]. LIBRARY JOURNAL, 2000, 125 (13) : 146 - 146
  • [26] The Java']JavaScript Ecosystem
    Frankston, Bob
    [J]. IEEE CONSUMER ELECTRONICS MAGAZINE, 2020, 9 (06) : 84 - 89
  • [27] Java']Javanni: A Verifier for Java']JavaScript
    Nordio, Martin
    Calcagno, Cristiano
    Furia, Carlo Alberto
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2013, 2013, 7793 : 231 - 234
  • [28] Java与Javascript
    张光业
    [J]. 微电脑世界, 1996, (11) : 62 - 65
  • [29] Java和JavaScript
    韩立
    王明哲
    [J]. 成功(教育), 2009, (01) : 177 - 177
  • [30] Java']JavaScript fix
    Burge, MH
    [J]. DR DOBBS JOURNAL, 1996, 21 (08): : 12 - 12