• DocumentCode
    3723017
  • Title

    Static Analysis of JavaScript Web Applications in the Wild via Practical DOM Modeling (T)

  • Author

    Changhee Park;Sooncheol Won;Joonho Jin;Sukyoung Ryu

  • fYear
    2015
  • Firstpage
    552
  • Lastpage
    562
  • Abstract
    We present SAFEWapp, an open-source static analysis framework for JavaScript web applications. It provides a faithful (partial) model of web application execution environments of various browsers, based on empirical data from the main web pages of the 9,465 most popular websites. A main feature of SAFEWapp is the configurability of DOM tree abstraction levels to allow users to adjust a trade-off between analysis performance and precision depending on their applications. We evaluate SAFEWapp on the 5 most popular JavaScript libraries and the main web pages of the 10 most popular websites in terms of analysis performance, precision, and modeling coverage. Additionally, as an application of SAFEWapp, we build a bug detector for JavaScript web applications that uses static analysis results from SAFEWapp. Our bug detector found previously undiscovered bugs including ones from wikipedia.org and amazon.com.
  • Keywords
    "Browsers","HTML","Analytical models","Web pages","Internet","Encyclopedias"
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2015 30th IEEE/ACM International Conference on
  • Type

    conf

  • DOI
    10.1109/ASE.2015.27
  • Filename
    7372043