• DocumentCode
    2872597
  • Title

    Graph-Less Dynamic Dependence-Based Dynamic Slicing Algorithms

  • Author

    Beszédes, Árpád ; Gergely, Tamás ; Gyimóthy, Tibor

  • Author_Institution
    University of Szeged, Hungary
  • fYear
    2006
  • fDate
    Sept. 2006
  • Firstpage
    21
  • Lastpage
    30
  • Abstract
    Using Dynamic Dependence Graphs is a well understood method for computing dynamic program slices. However, in its basic form, the DDG is inappropriate for practical implementation, so several alternative approaches have been proposed by researchers. In this paper, we elaborate on different methods in which the execution trace is processed and, using local definition-use information, the dependence chains are followed "on the fly" to construct the slices without actually building any graphs. Naturally, various additional data structures still need to be maintained, but these vary on the slicing scenario. Firstly, one may want to perform the slicing in a demand-driven fashion, or to compute many slices globally. Next, one may be interested either in backward or forward slices. And finally, the slices can be produced by traversing the trace either in a forward or in a backward direction. This totals eight possibilities, of which some give useful algorithms, while there are irrelevant combinations as well. In this work we investigate all of them, give the basic algorithms where appropriate and discuss on implementation experiences and perspectives.
  • Keywords
    Buildings; Computer aided instruction; Conferences; Data structures; Heuristic algorithms; History; Java; Software algorithms; Software engineering; Terminology; Program slicing; dynamic slicing algorithms; execution; program dependences.; trace;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2006. SCAM '06. Sixth IEEE International Workshop on
  • Conference_Location
    Philadelphia, PA, USA
  • Print_ISBN
    0-7695-2353-6
  • Type

    conf

  • DOI
    10.1109/SCAM.2006.17
  • Filename
    4026852