字符串操作语言的静态程序分析
Static Program Analysis for String Manipulation Languages
摘要:
近年来,诸如JavaScript或Python的动态语言已经越来越多地用于广泛的领域和应用中。它们的狡猾和被误解的行为对这些程序设计语言的静态分析提出了严峻的挑战。任何动态语言程序的一个关键方面是字符串的多种用法,因为它们可以隐式地转换为另一种类型的值,通过字符串到代码的原语转换或用于访问对象属性。不幸的是,动态语言的字符串分析仍然缺乏精度,并且没有考虑到一些重要的字符串特征。此外,字符串混淆在动态语言恶意代码的上下文中非常流行,例如,将代码信息隐藏在字符串内,然后动态地将字符串转换为可执行代码。在这种情况下,更精确的字符串分析变得必要。本文被放置在静态字符串分析的背景下,抽象的解释,并提出了一个新的语义字符串分析,处理动态语言字符串功能的第一步。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。