arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1405.1116cs.SEcs.PL
收藏

关联数组程序的数据流分析

Data-flow Analysis of Programs with Associative Arrays

David Hauzar, Jan Kofroň, Pavel Baštecký

摘要:

动态规划语言(如PHP、JavaScript和Python)提供内置的数据结构,包括关联数组和具有类似语义的对象-对象属性可以在运行时创建并通过任意表达式访问。虽然以这些语言编写的应用程序的高级别安全性和安全性可能特别重要(考虑存储敏感数据并在全球范围内提供其功能的Web应用程序),但动态数据结构对数据流分析提出了重大挑战,使得传统的静态验证方法既不可靠又不精确。在本文中,我们提出了一个健全的和精确的方法,值和点的分析程序与关联数组类数据结构,数据流分析可以建立在。我们在一个web应用程序域中实现了我们的方法-在一个PHP代码分析器中。

英文摘要:

Dynamic programming languages, such as PHP, JavaScript, and Python, provide built-in data structures including associative arrays and objects with similar semantics-object properties can be created at run-time and accessed via arbitrary expressions. While a high level of security and safety of applications written in these languages can be of a particular importance (consider a web application storing sensitive data and providing its functionality worldwide), dynamic data structures pose significant challenges for data-flow analysis making traditional static verification methods both unsound and imprecise. In this paper, we propose a sound and precise approach for value and points-to analysis of programs with associative arrays-like data structures, upon which data-flow analyses can be built. We implemented our approach in a web-application domain-in an analyzer of PHP code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑