首页> 外文会议>Software Engineering, 2004. ICSE 2004. Proceedings >A fast assembly level reverse execution method via dynamic slicing
【24h】

A fast assembly level reverse execution method via dynamic slicing

机译:动态切片的快速装配级逆向执行方法

获取原文

摘要

One of the most time consuming parts of debugging is trying to locate a bug. In this context, there are two powerful debugging aids which shorten debug time considerably: reverse execution and dynamic slicing. Reverse execution eliminates the need for repetitive program restarts every time a bug location is missed. Dynamic slicing, on the other hand, isolates code parts that influence an erroneous variable at a program point. In this paper, we present an approach which provides assembly level reverse execution along a dynamic slice. In this way, a programmer not only can find the instructions relevant to a bug, but also can obtain runtime values of variables in a dynamic slice while traversing the slice backwards in execution history. Reverse execution along a dynamic slice skips recovering unnecessary program state; therefore, it is potentially faster than full-scale reverse execution. The experimental results with four different benchmarks show a wide range of speedups from 1.3X for a small program with few data inputs to six orders of magnitude (1,928,500X) for 400x400 matrix multiply. Furthermore, our technique is very memory efficient. Our benchmark measurements show between 3.4X and 2240X memory overhead reduction as compared to our implementation of the same features using traditional approaches.
机译:调试中最耗时的部分之一是尝试查找错误。在这种情况下,有两个功能强大的调试辅助工具可大大缩短调试时间:反向执行和动态切片。反向执行消除了每次错过错误位置时都需要重复启动程序的需求。另一方面,动态切片将隔离在程序点上影响错误变量的代码部分。在本文中,我们提出了一种沿着动态切片提供程序集级反向执行的方法。这样,程序员不仅可以找到与错误相关的指令,还可以在动态切片中获取变量的运行时值,同时在执行历史中向后遍历切片。沿着动态切片的反向执行会跳过恢复不必要的程序状态的过程;因此,它可能比全面逆向执行更快。具有四个不同基准的实验结果显示,从很少的数据输入的小程序到1.3倍的速度提速,到400x400矩阵乘法的六个数量级(1,928,500X)提速了很大范围。此外,我们的技术具有很高的存储效率。与使用传统方法实现相同功能相比,我们的基准测试结果显示内存开销减少了3.4倍至2240倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号