Open-access article

Static Program Analysis for String Manipulation Languages

Static Program Analysis for String Manipulation Languages

Download full textFree with an account; signing up with Google takes seconds

Abstract

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 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. Moreover, string obfuscation is very popular in the context of dynamic language malicious code, for example, to hide code information inside strings and then to dynamically transform strings into executable code. In this scenario, more precise string analyses become a necessity. This paper is placed in the context of static string analysis by abstract interpretation and proposes a new semantics for string analysis, placing a first step for handling dynamic languages string features.

Similar items

  • Static Analysis for ECMAScript String Manipulation Programs

    Open-access article2020Applied SciencesVincenzoArceri, IsabellaMastroeni, SunyiXu

    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 p

  • Static Analysis of String Manipulations in Critical Embedded C Programs

    Scholarly record2006SASXavier Allamigeon, Wenceslas Godard, Charles Hymans

    This paper describes a new static analysis to show the absence of memory errors, especially string buffer overflows in C programs. The analysis is specifically designed for the subset of C that is found in critical embedded software. It is based on the theory of abstract interpre

  • Verification of String Manipulating Programs Using Multi-Track Automata

    Scholarly record2009Fang 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

    Open-access article2015ACM 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

    Open-access article2019Proceedings 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

    Scholarly record2015Anitha 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 (