文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > Formalizing executable dynamic and forward slicing
侵权投诉

Formalizing executable dynamic and forward slicing

This paper uses a projection theory of slicing to formalize the definition of executable dynamic and forward program slicing. Previous definitions, when given, have been operational, and previous descriptions have been algorithmic. The projection framework

FormalizingExecutableDynamicandForwardSlicing

DaveBinkley

SebastianDanicic

TiborGyim´othy

MarkHarman

´AkosKiss

LahcenOuarbya

LoyolaCollege

BaltimoreMD21210-2699,USA.

GoldsmithsCollegeUniversityofLondonNewCross,LondonInstituteofInformaticsUniversityofSzeged6720Szeged,Hungary.BrunelUniversityUxbridge,MiddlesexUB83PH,UK.

SE146NW,UK.

Abstract

Thispaperusesaprojectiontheoryofslicingtoformal-izethede nitionofexecutabledynamicandforwardpro-gramslicing.Previousde nitions,whengiven,havebeenoperational,andpreviousdescriptionshavebeenalgorith-mic.Theprojectionframeworkisusedtoprovideadeclar-ativeformulationintermsofthedifferentequivalencespre-servedbythedifferentformsofslicing.

Theanalysisofdynamicslicingrevealsthattheslic-ingcriterionintroducedbyKorelandLaskicontainsthreeinter-wovencriteria.Itisshownhowthesethreeconceptu-allydistinctcriteriacanbedisentangledtorevealtwonewcriteria.Theanalysisofdynamicslicingalsorevealsthatthesubsumesrelationshipbetweenstaticanddynamicslic-ingismoreintricatethatpreviousauthorshaveclaimed.Finally,thepaperusestheprojectiontheorytoinves-tigatetheoreticalpropertiesofforwardslicing.Thisisachievedby rstre-formulatingforwardslicingtoprovideanexecutableforwardslice.Thisde nitionallowsforfor-malinvestigationoftherelationshipbetweenforwardandbackwardslicing.

1.Introduction

Thispaperisconcernedwiththeformalde nitionsandpropertiesofdynamicslicingandforwardslicing(ratherthanalgorithmsforcomputingthem).Itemploysthepro-jectiontheoryofprogramslicingintroducedbyHarman,Danicic,andBinkley[11,12].Usingthistheory,itispos-sibletostudyandexplainsimilaritiesanddifferencesbe-tweenslicingalgorithms.Thetheorywas rstusedtoex-aminethedifferencesandsimilaritiesbetweenamorphousandsyntax–preservingformsofslice[11,12].Thispaperusestheprojectiontheorytoinvestigatethenatureofdy-namicslicingasoriginallyformulatedbyKorelandLaski[18]andtoformalizethede nitionofexecutableforwardslice.

Theresultsondynamicslicingrevealthatthenatureofthedynamicslicingcriterionismoresubtlethanpreviousau-thorshaveclaimed[5,7,24].Thereisnosimpletwo–elementsubsumationrelationshipbetweenKorelandLaskidynamicslicingandstaticslicing.Inaddition,itisshownthatdynamicslicingcriteriacontainthreeinterwovencon-cepts;theinput,thetrajectory,andtheiterationcount.Pre-viousauthorshaveregardedtheinputastheonlyaspectofthedynamicslicingcriterion.

Thepaperalsopresentsresultsconcerningforwardslic-ing.Insteadofde ningaforwardsliceasthosecomponentsoftheprogramthatareaffectedbytheslicingcriterion,acomplementforwardsliceisde nedasaprogramwhoseexecutionisunaffectedbytheslicingcriterion.

Finally,thepaperintroducesasubsumationrelationshipthatrelatesthedifferenttypesofexecutablebackwardslic-ingmethods.Withthehelpoftheprojectionframeworkthreeorthogonalslicingcriteria(input,iterationcount,andtrajectoryequivalence)areidenti edandtheirextremesan-alyzed.Thesubsumesrelationshipofthe

so-identi edslicingmethodsisalsogiven.

FollowingVenkatesh[24],weusetheterm‘executable’tomeanthatasliceofprogramisitselfanexecutablepro-gramwhosesemanticsarea‘subset’ofthesemanticsof.Thisistobecontrastedwithanon–executableslice,whichismerelyasetofstatementsidenti edasbeingrelevanttotheslicingcriterion.Wepreferexecutableslicingde ni-tionsbecausetheycanbeinvestigatedformally,intermsoflanguagesemanticsandalsobecause,forsomeapplications(e.g.,testing,restructuringandreuse),slicesneedtobeex-ecutable.

Thepapermakesthreenoveltheoreticalcontributions:

1.TheanalysisofKorelandLaski’sde nitionofdy-namicslice[18]revealsthatthreedifferentandorthog-onalslicingcriteriahavebeeninterwoven.Byseparat-ingthese,thepaperintroducestwo,hithertounstudied,slicingcriteria:theiterationcountandthetrajectory.

第1页

你可能喜欢

热门文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email