【24h】

Flow-Sensitive Fault Localization

机译:流动敏感故障定位

获取原文

摘要

Identifying the cause of an error is often the most timeconsuming part in program debugging. Fault localization techniques can help to automate this task. Particularly promising are static proof-based techniques that rely on an encoding of error traces into trace formulas. By identifying irrelevant portions of the trace formula, the possible causes of the error can be isolated. One limitation of these approaches is that they do not take into account the control flow of the program and therefore miss common causes of errors, such as faulty branching conditions. This limitation is inherent to the way the error traces are encoded. In this paper, we present a new flow-sensitive encoding of error traces into trace formulas. The new encoding enables proof-based techniques to identify irrelevant conditional choices in an error trace and to include a justification for the truth value of branching conditions that are relevant for the localized cause of an error. We apply our new encoding to the fault localization technique based on error invariants and show that it produces more meaningful error explanations than previous approaches.
机译:识别错误的原因通常是程序调试中最时刻的时间。故障本地化技术可以帮助自动执行此任务。特别有希望是基于静态证明的技术,其依赖于将误差迹线的编码成跟踪公式。通过识别跟踪公式的无关部分,可以隔离误差的可能原因。这些方法的一个限制是他们没有考虑程序的控制流程,因此错过了错误的常见原因,例如有缺陷的分支条件。此限制是误差迹线编码的方式固有。在本文中,我们将误差迹线的新流程敏感编码呈现为跟踪公式。新编码使基于证明的技术能够在错误轨迹中识别无关的条件选择,并包括与错误的本地化原因相关的分支条件的真实值的理由。我们基于错误不变性将新编码应用于故障定位技术,并显示它比以前的方法产生更有意义的错误解释。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号