مقاله‌ی دسترسی آزاد

Static Analysis for ECMAScript String Manipulation Programs

چکیده(به انگلیسی؛ چکیده‌ی فارسی در دسترس نیست)

In recent years, dynamic languages, such as JavaScript or Python, have been increasingly used in a wide range of fields and applications. Their tricky and misunderstood behaviors pose a great challenge for static analysis of these languages. A key aspect of any dynamic language program is the multiple usage of strings, since they can be implicitly converted to another type value, transformed by string-to-code primitives or used to access an object-property. Unfortunately, string analyses for dynamic languages still lack precision and do not take into account some important string features. In this scenario, more precise string analyses become a necessity. The goal of this paper is to place a first step for precisely handling dynamic language string features. In particular, we propose a new abstract domain approximating strings as finite state automata and an abstract interpretation-based static analysis for the most common string manipulating operations provided by the ECMAScript specification. The proposed analysis comes with a prototype static analyzer implementation for an imperative string manipulating language, allowing us to show and evaluate the improved precision of the proposed analysis.

اسناد مشابه

  • Verification of String Manipulating Programs Using Multi-Track Automata

    سند علمی۲۰۰۹Fang Yu, Tevfik Bultan, Oscar H. Ibarra

    Verification of string manipulation operations is a crucial problem in computer security. We present a new symbolic string verification technique that can be used to prove that vulnerabilities that result from improper string manipulation do not exist in a given program. We forma

  • Data-Parallel String-Manipulating Programs

    مقاله‌ی دسترسی آزاد۲۰۱۵ACM SIGPLAN NoticesMargusVeanes, ToddMytkowicz, DavidMolnar, BenjaminLivshits

    String-manipulating programs are an important class of programs with applications in malware detection, graphics, input sanitization for Web security, and large-scale HTML processing. This paper extends prior work on BEK, an expressive domain-specific language for writing string-

  • Decision procedures for path feasibility of string-manipulating programs with complex operations

    مقاله‌ی دسترسی آزاد۲۰۱۹Proceedings of the ACM on Programming LanguagesTaolueChen, MatthewHague, Anthony W.Lin, PhilippRümmer

    The design and implementation of decision procedures for checking path feasibility in string-manipulating programs is an important problem, with such applications as symbolic execution of programs with strings and automated detection of cross-site scripting (XSS) vulnerabilities

  • Automatic Test Generation for String Manipulation Programs using Symbolic Execution

    سند علمی۲۰۱۵Anitha Gollamudi, Zehra Naz

    S ymbolic execution of string manipulation programs is challenging as the constraint solvers do not typically support logic over strings and non-string operations. KLEE[1] is a symbolic execution tool used to generate test cases with high coverage. It uses Simple Theorem Prover (

  • Path Feasibility Analysis for String-Manipulating Programs

    سند علمی۲۰۰۹TACASNikolaj Bjørner, Nikolai Tillmann, Andrei Voronkov

    We discuss the problem of path feasibility for programs manipulating strings using a collection of standard string library functions. We prove results on the complexity of this problem, including its undecidability in the general case and decidability of some special cases. In th

  • Static Program Analysis for String Manipulation Languages

    مقاله‌ی دسترسی آزاد۲۰۱۹Electronic Proceedings in Theoretical Computer ScienceVincenzoArceri, IsabellaMastroeni

    In recent years, dynamic languages, such as JavaScript or Python, have been increasingly used in a wide range of fields and applications. Their tricky and misunderstood behaviors pose a hard challenge for static analysis of these programming languages. A key aspect of any dynamic