...
首页> 外文期刊>International Journal of Rough Sets and Date Analysis >Conditioned Slicing of Interprocedural Programs
【24h】

Conditioned Slicing of Interprocedural Programs

机译:程序间条件切片

获取原文
获取原文并翻译 | 示例

摘要

Program slicing is a technique to decompose programs depending on control flow and data flow amongst several lines of code in a program. Conditioned slicing is a generalization of static slicing and dynamic slicing. A variable, the desired program point, and a condition of interest form a slicing criterion for conditioned slicing. This paper proposes an approach to calculate conditioned slices for programs containing multiple procedures. The approach is termed Node-Marking Conditioned Slicing (NMCS) algorithm. In this approach, first and foremost step is to build an intermediate symbolization of a given program code and the next step is to develop an algorithm for finding out conditioned slices. The dependence graph, termed System Dependence Graph (SDG), is used to symbolize intermediate presentation. After constructing SDG, the NMCS algorithm chooses nodes that satisfy a given condition by the process of marking and unmarking. The algorithm also finds out conditioned slices for every variable at every statement during the process. NMCS algorithm employs a stack to save call context of a method. Few edges in SDG are labeled to identify the statement that calls a method. The proposed algorithm is implemented, and its performance is tested with several case study projects.
机译:程序切片是一种根据程序中几行代码中的控制流和数据流来分解程序的技术。条件切片是静态切片和动态切片的概括。变量,所需的程序点和感兴趣的条件形成用于条件切片的切片标准。本文提出了一种为包含多个过程的程序计算条件切片的方法。该方法称为节点标记条件切片(NMCS)算法。在这种方法中,首要步骤是建立给定程序代码的中间符号,而下一步是开发一种用于找出条件切片的算法。依赖图,称为系统依赖图(SDG),用于表示中间表示。构造SDG之后,NMCS算法通过标记和取消标记的过程选择满足给定条件的节点。该算法还为过程中每个语句中的每个变量找出条件切片。 NMCS算法采用堆栈来保存方法的调用上下文。 SDG中很少有边缘被标记以标识调用方法的语句。该算法已实现,并通过几个案例研究项目对其性能进行了测试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号