{"title":"Program slicing for C-the problems in implementation","authors":"J. Jiang, X. Zhou, D. Robson","doi":"10.1109/ICSM.1991.160328","DOIUrl":null,"url":null,"abstract":"Program slicing is a method of finding all statements that might directly or indirectly affect the values of variables. The concept was first proposed by M. Weiser (1981, 1984). Some of the problems and possible solutions of program slicing within the C language are discussed. Some basic notations and Weiser's original algorithm are presented. Then, slicing problems and solutions are described. For instance, how to find the correct slice in the presence or array and pointer variables and how to find break, continue, and goto statements that have effects on the slice. An algorithm to find the branch statements is introduced.<<ETX>>","PeriodicalId":269572,"journal":{"name":"Proceedings. Conference on Software Maintenance 1991","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1991-10-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"46","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings. Conference on Software Maintenance 1991","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSM.1991.160328","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 46
Abstract
Program slicing is a method of finding all statements that might directly or indirectly affect the values of variables. The concept was first proposed by M. Weiser (1981, 1984). Some of the problems and possible solutions of program slicing within the C language are discussed. Some basic notations and Weiser's original algorithm are presented. Then, slicing problems and solutions are described. For instance, how to find the correct slice in the presence or array and pointer variables and how to find break, continue, and goto statements that have effects on the slice. An algorithm to find the branch statements is introduced.<>