arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1006.2816cs.PL
收藏

一种C++程序动态片的生成方法

An approach to find dynamic slice for C++ Program

Santosh Kumar Pani, Priya Arundhati

摘要:

面向对象程序设计被认为是程序开发和维护中最有前途的方法。面向对象程序的一个重要特征是其可重用性,可重用性可以通过类或可重用组件的继承来实现,动态程序切片是一种在调试时将错误缩小到程序相关部分的有效技术。给定一个切片标准,动态切片只包含那些真正影响切片标准中变量的语句。提出了一种基于依赖分析的面向对象程序动态切片方法。它利用目标程序的控制依赖图和其它静态信息来减少程序执行过程中需要跟踪的信息。在本文中,我们提出了一种方法来找到面向对象程序的动态切片,我们正在寻找对象的切片和函数重载的情况下。

英文摘要:

Object-oriented programming has been considered a most promising method in program development and maintenance. An important feature of object-oriented programs (OOPs) is their reusability which can be achieved through the inheritance of classes or reusable components.Dynamic program slicing is an effective technique for narrowing the errors to the relevant parts of a program when debugging. Given a slicing criterion, the dynamic slice contains only those statements that actually affect the variables in the slicing criterion. This paper proposes a method to dynamically slice object-oriented (00) programs based on dependence analysis. It uses the Control Dependency Graph for object program and other static information to reduce the information to be traced during program execution. In this paper we present a method to find the dynamic Slice of object oriented programs where we are finding the slices for object and in case of function overloading.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑