Electronic Notes in Theoretical Computer Science · 2017 · 12 citations · 9 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSemanticsAbstract InterpretationApplication Programming InterfacesData TypesSyntax AnalysisType CheckingType SystemsAbstract DomainsAbstract TypesAbstraction MechanismsType ConversionType Inference
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.
9
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Systematic design of program analysis frameworks
Patrick Cousot, Radhia Cousot · 1979 · 1.6K citations · Full text
Making abstract interpretations complete
Roberto Giacobazzi, Francesco Ranzato, Francesca Scozzari · Journal of the ACM · 2000 · 253 citations · Full text
Types as abstract interpretations
Patrick Cousot · 1997 · 171 citations