首页> 外文会议>European Conference on Software Maintenance and Reengineering >Dynamic slicing method for maintenance of large C programs
【24h】

Dynamic slicing method for maintenance of large C programs

机译:用于维护大型C程序的动态切片方法

获取原文

摘要

Different program slicing methods are used for maintenance, reverse engineering, testing and debugging. Slicing algorithms can be classified as static slicing and dynamic slicing methods. In several applications the computation of dynamic slices is preferable, since it can produce more precise results. In this paper, we introduce a new forward global method for computing backward dynamic slices of C programs. In parallel to the program execution, the algorithm determines the dynamic slices for any program instruction. We also propose a solution for some problems specific to the C language (such as pointers and function calls). The main advantage of our algorithm is that it can be applied to real-size C programs, because its memory requirements are proportional to the number of different memory locations used by the program (which is in most cases far smaller than the size of the execution history which is, in fact, the absolute upper bound of our algorithm).
机译:不同的程序切片方法用于维护,逆向工程,测试和调试。切片算法可以被分类为静态切片和动态切片方法。在若干应用中,动态切片的计算是优选的,因为它可以产生更多的精确结果。在本文中,我们介绍了一种用于计算C程序的反向动态切片的新的前向全局方法。与程序执行并行,算法确定用于任何程序指令的动态切片。我们还提出了一种解决方法,用于对C语言特定的一些问题(例如指针和函数调用)。我们的算法的主要优点是它可以应用于真实大小的C程序,因为它的存储器要求与程序使用的不同内存位置的数量成比例(这在大多数情况下远小于执行的大小事实上,历史实际上是我们算法的绝对上限)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号