Abstract Domains for Type Juggling
Abstract Domains for Type Juggling
复制标题
类型杂耍的抽象域
DOI:
10.1016/j.entcs.2017.02.003
复制
发表时间:
2017
影响因子:
--
通讯作者:
Arceri V
中科院分区:
文献类型:
--
作者:
Arceri V
Web scripting languages, such as PHP and JavaScript, provide a wide range of dynamic features that make them both flexible and error-prone. In order to prevent bugs in web applications, there is a sore need for powerful static analysis tools. In this paper, we investigate how Abstract Interpretation may be leveraged to provide a precise value analysis providing rich typing information that can be a useful component for such tools.In particular, we define the formal semantics for a core of PHP that illustratestype juggling, the implicit type conversions typical of PHP, and investigate the design of abstract domains and operations that, while still scalable, are expressive enough to cope with type juggling. We believe that our approach can also be applied to other languages with implicit type conversions.