ACM Home Page
Please provide us with feedback. Feedback
Evaluating explicitly context-sensitive program slicing
Full text PdfPdf (198 KB)
Source Workshop on Program Analysis for Software Tools and Engineering archive
Proceedings of the 2001 ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering table of contents
Snowbird, Utah, United States
Pages: 6 - 12  
Year of Publication: 2001
ISBN:1-58113-413-4
Authors
Gagan Agrawal  Department of Computer and Information, Sciences, University of Delaware, Newark, DE
Liang Guo  Department of Computer and Information Sciences, University of Delaware, Newark, DE
Sponsors
SIGSOFT: ACM Special Interest Group on Software Engineering
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 14,   Citation Count: 7
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/379605.379630
What is a DOI?

ABSTRACT

One of the important issues in constructing interprocedural program slices is maintaining context-sensitivity or preserving calling context when a procedure is called at multiple call sites. Though a number of context-sensitive techniques have been presented in the last decade, the following important questions remain unanswered: 1) What is the level of precision lost if context-sensitivity is not maintained ? 2) What are the additional costs for achieving context-sensitivity?In this paper, we evaluate a PDG based explicitly context-sensitive interprocedural program slicing technique for accuracy and efficiency. We compare this technique against a context-insensitive technique using a program slicing framework we have developed for Java programs for which only the byte-code sequences are available.Our results show that the context-sensitive technique, in spite of its worst case exponential complexity, can be very efficient in practice. The execution time for our set of benchmarks is, on the average, only twice as much as the execution time for the context-insensitive technique. The results on the accuracy for the context-insensitive technique are mixed. For 53% of the 2464 slicing criteria used in our experiments, the context-insensitive technique does not loose accuracy. However, in some cases, it can also lead to slices with 35 times more vertices. On the average, the slices constructed from the context-insensitive technique are twice as large as the one from the context-sensitive technique.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Ole Agesen. Constrained-based type inference and parametric polymorphism. In Proceedings of Static Analysis Symposium (SAS), appeared as the volume no. 864 of the Springer Lecture Notes in Computer Science Series, pages 78-100, September 1994.
 
2
3
4
 
5
6
7
 
8
J. C. Hwang, M. W. Du, and C. R. Chou. Finding program slices for recursive procedures. In In Proceedings of 12th Annual Internation Conference on Computer Software and Applications, 1988.
9
 
10
11
12
13
14
15
 
16
Raja Vallee-Rai. Soot: A Java ByteCode Optimization Framework. Master's thesis, McGill University, 1999.
 
17
 
18
Mark Weiser. Program slicing. IEEE Transactions on Software Engineering, 10:352-357, 1984.


Collaborative Colleagues:
Gagan Agrawal: colleagues
Liang Guo: colleagues