首页> 外文会议>International Static Analysis Symposium >Data-Flow-Based Virtual Function Resolution
【24h】

Data-Flow-Based Virtual Function Resolution

机译:基于数据流的虚拟功能分辨率

获取原文

摘要

Determining the type of an object to which a receiver may point at a virtual call site is crucial for compile time virtual function resolution in C++ programs. We show the close interdependence of type determination and pointer-induced aliasing in C++ and present the first data-flow-based algorithm to solve these problems simultaneously. Our polynomial-time, approximation method incorporates information about program flow. Initial experiences with our prototype implementation have shown our technique to be more effective than others that use only inheritance hierarchy information. We present initial empirical results demonstrating the precision of our approach and state the intrinsic difficulty (i.e., NP-hardness) of the type determination problem for programming languages with general-purpose pointers and dynamic binding.
机译:确定接收器在虚拟呼叫站点处点点的对象的类型对于C ++程序中编制时间虚拟功能分辨率至关重要。我们展示了C ++中类型确定和指针诱导的别名的密切相互依赖,并呈现了第一种基于数据流的算法来同时解决这些问题。我们的多项式时间,近似方法包含有关节目流程的信息。与我们的原型实施的初始经验表明我们的技术比仅使用遗产层次信息的其他技术更有效。我们展示了初始的经验结果,展示了我们方法的精确度,并说明了与通用指针和动态绑定的编程语言类型确定问题的内在难度(即NP-硬度)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号