The Eval That Men Do A Large-Scale Study of the Use of Eval in Java']JavaScript Applications

被引:0
|
作者
Richards, Gregor [1 ]
Hammer, Christian [1 ]
Burg, Brian [2 ]
Vitek, Jan [1 ]
机构
[1] Purdue Univ, W Lafayette, IN 47907 USA
[2] Univ Washington, Seattle, WA 98195 USA
来源
ECOOP 2011 - OBJECT-ORIENTED PROGRAMMING | 2011年 / 6813卷
基金
美国国家科学基金会;
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Transforming text into executable code with a function such as Java-Script's eval endows programmers with the ability to extend applications, at any time, and in almost any way they choose. But, this expressive power comes at a price: reasoning about the dynamic behavior of programs that use this feature becomes challenging. Any ahead-of-time analysis, to remain sound, is forced to make pessimistic assumptions about the impact of dynamically created code. This pessimism affects the optimizations that can be applied to programs and significantly limits the kinds of errors that can be caught statically and the security guarantees that can be enforced. A better understanding of how eval is used could lead to increased performance and security. This paper presents a large-scale study of the use of eval in JavaScript-based web applications. We have recorded the behavior of 337 MB of strings given as arguments to 550,358 calls to the eval function exercised in over 10,000 web sites. We provide statistics on the nature and content of strings used in eval expressions, as well as their provenance and data obtained by observing their dynamic behavior.
引用
收藏
页码:52 / 78
页数:27
相关论文
共 50 条
  • [41] Large-scale production of lentiviral vectors for use in therapeutic applications
    Lad, Yatish
    Stewart, Hannah
    Farley, Daniel
    Knevelman, Carol
    Jones, Peter
    Ellis, Scott
    Clarkson, Nicholas
    Miskin, James
    Mitrophanous, Kyriacos
    HUMAN GENE THERAPY, 2017, 28 (08) : A30 - A30
  • [42] On the Use of Seawater as Reaction Media for Large-Scale Applications in Biorefineries
    de Maria, Pablo Dominguez
    CHEMCATCHEM, 2013, 5 (07) : 1643 - 1648
  • [43] CVT-System for use in large-scale farming applications
    Pohlenz, J
    Grad, K
    CONFERENCE: AGRICULTURAL ENGINEERING 2004, 2004, 1855 : 23 - 33
  • [44] Large-scale production of lentiviral vectors for use in therapeutic applications
    Lad, Y.
    Stewart, H.
    Farley, D.
    Knevelman, C.
    Jones, P.
    Ellis, S.
    Clarkson, N.
    Miskin, J.
    Mitrophanous, K.
    HUMAN GENE THERAPY, 2017, 28 (12) : A108 - A108
  • [45] Large-Scale Production of Lentiviral Vectors for Use in Therapeutic Applications
    Clarkson, Nicholas
    Stewart, Hannah
    Farley, Daniel
    Knevelman, Carol
    Jones, Peter
    Miskin, James
    Mitrophanous, Kyriacos
    MOLECULAR THERAPY, 2017, 25 (05) : 225 - 225
  • [46] LARGE-SCALE APPLICATIONS OF SUPERCONDUCTIVITY
    SCHWARTZ, BB
    FONER, S
    PHYSICS TODAY, 1977, 30 (07) : 34 - &
  • [47] LARGE-SCALE APPLICATIONS OF SUPERCONDUCTIVITY
    BOGNER, G
    YASUKOCH.K
    CRYOGENICS, 1974, 14 (09) : 533 - 535
  • [48] SUPERCONDUCTIVITY - LARGE-SCALE APPLICATIONS
    HEIN, RA
    SCIENCE, 1974, 185 (4147) : 211 - 222
  • [49] LARGE-SCALE APPLICATIONS OF SUPERCONDUCTIVITY
    FONER, S
    SCHWARTZ, BB
    JOURNAL OF THE ELECTROCHEMICAL SOCIETY, 1979, 126 (03) : C153 - C153
  • [50] Large-Scale Dataset of Local Java']Java Software Build Results
    Sulir, Matus
    Bacikova, Michaela
    Madeja, Matej
    Chodarev, Sergej
    Juhar, Jan
    DATA, 2020, 5 (03) : 1 - 11