首页> 外国专利> Static analysis defect detection in the presence of virtual function calls

Static analysis defect detection in the presence of virtual function calls

机译:存在虚拟函数调用时的静态分析缺陷检测

摘要

A computer-implemented error detection mechanism for detecting programming errors in a computer program. The computer-implemented error detection method described herein can make use of a Function Behavior Knowledge Base (FBKB) to approximate how a virtual function changes state of the program execution for all methods that can be called at each specific invocation point. The FBKB is used to select what implementation of a virtual function should be called in order to give rise to a programming defect. By dropping implementations that do not lead to a programming defect, the set of possible object runtime types is reduced. If this set is empty by the end of the analysis, then a defect is not possible, otherwise the set of object runtime types will contain types that may cause a defect.
机译:一种计算机实现的错误检测机制,用于检测计算机程序中的编程错误。本文描述的计算机实现的错误检测方法可以利用功能行为知识库(FBKB)来估计虚拟函数如何更改可在每个特定调用点调用的所有方法的程序执行状态。 FBKB用于选择应调用虚拟函数的哪种实现,以引起编程缺陷。通过删除不会导致编程缺陷的实现,减少了可能的对象运行时类型的集合。如果在分析结束时此集合为空,则不可能出现缺陷,否则对象运行时类型的集合将包含可能导致缺陷的类型。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号