【24h】

Evaluating explicitly context-sensitive program slicing

机译:评估明确的上下文敏感程序切片

获取原文

摘要

One of the important issues in constructing interprocedural program slices is maintaining context-sensitivity or preserving calling context when a procedure is called at multiple call sites. Though a number of context-sensitive techniques have been presented in the last decade, the following important questions remain unanswered: 1) What is the level of precision lost if context-sensitivity is not maintained ? 2) What are the additional costs for achieving context-sensitivity?

In this paper, we evaluate a PDG based explicitly context-sensitive interprocedural program slicing technique for accuracy and efficiency. We compare this technique against a context-insensitive technique using a program slicing framework we have developed for Java programs for which only the byte-code sequences are available.

Our results show that the context-sensitive technique, in spite of its worst case exponential complexity, can be very efficient in practice. The execution time for our set of benchmarks is, on the average, only twice as much as the execution time for the context-insensitive technique. The results on the accuracy for the context-insensitive technique are mixed. For 53% of the 2464 slicing criteria used in our experiments, the context-insensitive technique does not loose accuracy. However, in some cases, it can also lead to slices with 35 times more vertices. On the average, the slices constructed from the context-insensitive technique are twice as large as the one from the context-sensitive technique.

机译:>在多个呼叫站点调用过程时,构造进程学程序切片中的一个重要问题是维持<斜体>上下文 - 灵敏度或保留调用上下文。虽然在过去十年中呈现了许多上下文敏感的技术,但以下重要问题仍然未答复:1)如果未维持上下文敏感性,则损失的精度水平是多少? 2)在本文中实现上下文敏感性的额外成本是什么? >,我们评估了基于PDG的明确上下文 - 敏感的进程学程序切片技术,提高了准确性和效率。我们将这种技术与使用程序切片框架的上下文不区分的技术进行比较,我们为其中仅提供了字节码序列的Java程序开发了。 >我们的结果表明上下文敏感技术尽管是最坏的情况的指数复杂性,可以在实践中非常有效。我们的基准测试的执行时间仅为Context Inverstive技术的执行时间的两倍。混合了上下文不敏感技术的准确性的结果。对于我们实验中使用的2464个切片标准的53%,所以不敏感的技术不会减轻精度。但是,在某些情况下,它也可以导致两个顶点的35倍。平均来,由上下文不敏感技术构成的切片是来自上下文敏感技术的两倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号