首页> 外国专利> Static analysis of reachable methods and fields in object-oriented applications using object instantiation

Static analysis of reachable methods and fields in object-oriented applications using object instantiation

机译:使用对象实例化对面向对象应用程序中的可达方法和字段进行静态分析

摘要

Exemplary embodiments of the present invention comprise an algorithm described herein that utilizes a technique to shrink a set of potentially reachable elements to a close approximation of the actually reachable elements within a software application by closely approximating how the application executes at runtime. The algorithm attempts to identify all of the reachable elements of an object-oriented software application by starting with the entry points into the application and thereafter progressively determining all of the software elements within the application that are reachable. The algorithm instantiates application objects in the same way they would be instantiated at runtime and passes references to these objects from one method and field to the next; emulating as closely as possible object instantiation performed by the application at runtime.
机译:本发明的示例性实施例包括本文描述的算法,该算法利用一种技术来缩小一组潜在可到达的元素,从而通过紧密地近似该应用程序在运行时的执行方式来使其近似于该软件应用程序中的实际可到达的元素。该算法尝试通过从进入应用程序的入口点开始,然后逐步确定应用程序内所有可到达的软件元素,来识别面向对象软件应用程序的所有可到达元素。该算法实例化应用程序对象的方式与在运行时实例化该对象的方式相同,并将对这些对象的引用从一个方法和字段传递到下一个方法和字段。在运行时尽可能接近地模拟应用程序执行的对象实例化。

著录项

  • 公开/公告号US8141063B2

    专利类型

  • 公开/公告日2012-03-20

    原文格式PDF

  • 申请/专利权人 SEAN C. FOLEY;

    申请/专利号US20070847677

  • 发明设计人 SEAN C. FOLEY;

    申请日2007-08-30

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 17:27:46

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号