An approach to find dynamic slice for C++ Program
Santosh Kumar Pani, Priya Arundhati

TL;DR
This paper introduces a method for dynamic slicing of object-oriented C++ programs using dependence analysis and control dependency graphs, aiming to improve debugging by isolating relevant code segments.
Contribution
It presents a novel approach to find dynamic slices in object-oriented programs, including handling object and function overloading, with reduced runtime tracing.
Findings
Effective identification of relevant code segments during debugging.
Reduction in tracing information needed during program execution.
Applicability to object-oriented features like inheritance and overloading.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Reliability and Analysis Research · Software Engineering Research
