Abstract Domains for Type Juggling

被引:8
|
作者
Arceri V. [1 ]
Maffeis S. [2 ]
机构
[1] Department of Computer Science, University of Verona
[2] Department of Computing, Imperial College, London
基金
英国工程与自然科学研究理事会;
关键词
Abstract interpretation; PHP; Static analysis; Type conversions;
D O I
10.1016/j.entcs.2017.02.003
中图分类号
学科分类号
摘要
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 illustrates type 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. © 2017 The Author(s)
引用
收藏
页码:41 / 55
页数:14
相关论文
共 50 条
  • [11] Haptic Rendering of Juggling with Encountered Type Interfaces
    Ruffaldi, Emanuele
    Tripicchio, Paolo
    Avizzano, Carlo Alberto
    Bergamasco, Massimo
    PRESENCE-TELEOPERATORS AND VIRTUAL ENVIRONMENTS, 2011, 20 (05) : 480 - 501
  • [12] Abstract Domains and Solvers for Sets Reasoning
    Cox, Arlen
    Chang, Bor-Yuh Evan
    Li, Huisong
    Rival, Xavier
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, (LPAR-20 2015), 2015, 9450 : 356 - 371
  • [13] A logical model for relational abstract domains
    Giacobazzi, R
    Scozzari, F
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 20 (05): : 1067 - 1109
  • [14] IMPROVING ABSTRACT INTERPRETATIONS BY COMBINING DOMAINS
    CODISH, M
    MULKERS, A
    BRUYNOOGHE, M
    DELABANDA, MG
    HERMENEGILDO, M
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1995, 17 (01): : 28 - 44
  • [15] A Constraint Solver Based on Abstract Domains
    Pelleau, Marie
    Mine, Antoine
    Truchet, Charlotte
    Benhamou, Frederic
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION (VMCAI 2013), 2013, 7737 : 434 - 454
  • [16] Abstract Domains for Database Manipulating Processes
    Schueler, Tobias
    Mennicke, Stephan
    Lochau, Malte
    RULES AND REASONING, RULEML+RR 2023, 2023, 14244 : 222 - 237
  • [17] Abstract temporal diagnosis in medical domains
    Gamper, J
    Nejdl, W
    ARTIFICIAL INTELLIGENCE IN MEDICINE, 1997, 10 (03) : 209 - 234
  • [18] Logical model for relational abstract domains
    Universita di Pisa, Pisa, Italy
    ACM Trans Program Lang Syst, 5 (1067-1109):
  • [19] Abstract domains based on regular types
    Gallagher, JP
    Henriksen, KS
    LOGIC PROGRAMMING, PROCEEDINGS, 2004, 3132 : 27 - 42
  • [20] Color associations in abstract semantic domains
    Guilbeault, Douglas
    Nadler, Ethan O.
    Chu, Mark
    Lo Sardo, Donald Ruggiero
    Kar, Aabir Abubaker
    Desikan, Bhargav Srinivasa
    COGNITION, 2020, 201