A program slicing method using lightweight dynamic information

In debugging a large‐scale program, the working efficiency will be improved if the range of debugging can be reduced from the whole source program to a narrower range in which bugs are expected to exist. Program slicing is a technique of extracting the part to consider from the program, but it has t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Electronics & communications in Japan. Part 2, Electronics Electronics, 2006-11, Vol.89 (11), p.60-67
Hauptverfasser: Takada, Tomonori, Inoue, Katsuro, Ohata, Fumiaki, Ashida, Yoshiyuki
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:In debugging a large‐scale program, the working efficiency will be improved if the range of debugging can be reduced from the whole source program to a narrower range in which bugs are expected to exist. Program slicing is a technique of extracting the part to consider from the program, but it has the problem that the slice extracted from the program is of large size in static slicing, and the execution overhead is increased in dynamic slicing. This paper proposes dependence cache slicing, which is characterized as intermediate between the static and the dynamic procedures. The proposed algorithm is implemented, and the execution data are acquired by using the sample program. It is found that dependence cache slicing reduces the slice size by 30 to 50% compared to the existing methods in programs containing arrays and pointers. The required overhead remains in the practical range. Thus, the proposed method is useful in debugging. © 2006 Wiley Periodicals, Inc. Electron Comm Jpn Pt 2, 89(11): 60–67, 2006; Published online in Wiley InterScience (www.interscience.wiley.com). DOI 10.1002/ecjb.20318
ISSN:8756-663X
1520-6432
DOI:10.1002/ecjb.20318