首页> 外文会议>International Conference on Information and Computer Technologies >Precise String Domain for Analyzing JavaScript Arrays and Objects
【24h】

Precise String Domain for Analyzing JavaScript Arrays and Objects

机译:用于分析JavaScript数组和对象的精确字符串域

获取原文

摘要

JavaScript is a scripting language that is used for creating web pages. It is widely used and a top contender in realworld usage. JavaScript has many dynamic features that makes it challenging to static analysis. Arrays and objects are one aspect that needs more attention. Array elements are inherently sparse where elements can be added at noncontiguous locations. Object properties can be dynamically accessed and they can also store values of different types. Existing JavaScript static analyzers use constant propagation domains that lose huge amount of precision when analyzing arrays and objects. In this paper, we propose a string abstract domain that is capable of capturing precise information about arrays and objects. The domain we propose provides useful information for the detection of some errors such as the attempt to access a nonexistent element or property. We also define the abstract semantics of some crucial operations over this domain.
机译:JavaScript是用于创建网页的脚本语言。它被广泛使用,并且是现实世界中的顶级竞争者。 JavaScript具有许多动态功能,这使其对静态分析具有挑战性。数组和对象是需要更多关注的一个方面。数组元素本质上是稀疏的,可以在不连续的位置添加元素。可以动态访问对象属性,它们还可以存储不同类型的值。现有的JavaScript静态分析器使用恒定的传播域,当分析数组和对象时,它们会损失大量的精度。在本文中,我们提出了一个字符串抽象域,该域能够捕获有关数组和对象的精确信息。我们建议的域为检测某些错误(例如尝试访问不存在的元素或属性)提供了有用的信息。我们还定义了该域中一些关键操作的抽象语义。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号