2013 · 20 citations · 22 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSoftware EngineeringControl-flow AnalysisData-flow AnalysisStatic AnalysisStatic Code AnalysisType CheckingType SystemsJavascriptJavascript SecurityPrecisionPrecision AnalysisRefactoringRefinementStatic Type CheckingType Analysis
Static analysis of JavaScript has proven useful for a variety of purposes, including optimization, error checking, security auditing, program refactoring, and more. We propose a technique called type refinement that can improve the precision of such static analyses for JavaScript without any discernible performance impact. Refinement is a known technique that uses the conditions in branch guards to refine the analysis information propagated along each branch path. The key insight of this paper is to recognize that JavaScript semantics include many implicit conditional checks on types, and that performing type refinement on these implicit checks provides significant benefit for analysis precision.
22
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
A unified approach to global program optimization
Gary A. Kildall · 1973 · 901 citations
The design and implementation of typed scheme
Sam Tobin-Hochstadt, Matthias Felleisen · 2008 · 313 citations