Combining String Abstract Domains for JavaScript Analysis: An Evaluation. Amadini, R., Jordan, A., Gange, G., Gauthier, F., Schachte, P., Søndergaard, H., Stuckey, P. J., & Zhang, C. In Legay, A. & Margaria, T., editors, TACAS 2017: Proceedings of the 23rd International Conference on Tools and Algorithms for the Construction and Analysis of Systems, volume 10205, of Lecture Notes in Computer Science, pages 41–57, 2017. Springer.
doi  abstract   bibtex   
Strings play a central role in JavaScript and similar scripting languages. Owing to dynamic features such as the eval function and dynamic property access, precise string analysis is a prerequisite for automated reasoning about practically any kind of runtime property. Although the literature presents a considerable number of abstract domains for capturing and representing specific aspect of strings, we are not aware of tools that allow flexible combination of string abstract domains. Indeed, support for string analysis is often confined to a single, dedicated string domain. In this paper we describe a framework that allows us to combine multiple string abstract domains for the analysis of JavaScript programs. It is implemented as an extension of SAFE, an open-source static analysis tool. We investigate different combinations of abstract domains that capture various aspects of strings. Our evaluation suggests that a combination of few, simple abstract domains suffice to outperform the precision of state-of-the-art static analysis tools for JavaScript.
@InProceedings{Ama-Jor-Gan-Gau-Sch-Son-Stu-Zha_TACAS17,
  author    = {Roberto Amadini and 
		Alexander Jordan and 
		Graeme Gange and 
		Fran{\c{c}}ois Gauthier and
		Peter Schachte and 
		Harald S{\o}ndergaard and 
		Peter J. Stuckey and
		Chenyi Zhang},
  title     = {Combining String Abstract Domains for {JavaScript} Analysis: 
		An Evaluation},
  editor    = {A. Legay and T. Margaria},
  booktitle = {TACAS 2017: Proceedings of the 23rd International
		Conference on Tools and Algorithms for the Construction 
		and Analysis of Systems},
  series    = {Lecture Notes in Computer Science},
  volume    = {10205},
  pages     = {41--57},
  publisher = {Springer},
  year      = {2017},
  doi       = {10.1007/978-3-662-54577-5_3},
  abstract  = {Strings play a central role in JavaScript and similar scripting
		languages. Owing to dynamic features such as the eval function
		and dynamic property access, precise string analysis is a 
		prerequisite for automated reasoning about practically any 
		kind of runtime property. Although the literature presents 
		a considerable number of abstract domains for capturing and 
		representing specific aspect of strings, we are not aware of 
		tools that allow flexible combination of string abstract 
		domains. Indeed, support for string analysis is often confined
		to a single, dedicated string domain. In this paper we 
		describe a framework that allows us to combine multiple string
		abstract domains for the analysis of JavaScript programs. 
		It is implemented as an extension of SAFE, an open-source 
		static analysis tool. We investigate different combinations 
		of abstract domains that capture various aspects of strings.
		Our evaluation suggests that a combination of few, simple 
		abstract domains suffice to outperform the precision of 
		state-of-the-art static analysis tools for JavaScript.},
  keywords  = {String solvers, Abstract domains, Abstract interpretation, JavaScript},
}

Downloads: 0