{"title":"An empirical study of computation equivalence as determined by decomposition slice equivalence","authors":"K. Gallagher, D. Binkley","doi":"10.1109/WCRE.2003.1287262","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287262","url":null,"abstract":"In order to further understand and assess decompositionslicing we characterize and evaluate the size ofreductions obtained by computing equivalent decompositionslices from the perspective of the comprehender,maintainer, tester and researcher.The analysis wasperformed on 68 C language systems of sizes 100 to50,000 lines.All decomposition slices were computedand compared for simple equality.From this data, wewere able to determine with 95% confidence that thetrue mean percentage of equivalent decomposition slicesis between 50.0% and 60.3%, with a p-value < 0.005.This has clear and significant impact for softwaretesting, as any converge method used for one of thevariables used in an equivalence will apply to all variables in the class; for software comprehension as thenumber of items (variables) used for the understanderis substantially reduced; for the software maintenance,as the number computational relationships is reduced;and for the researcher, in attempting to ascertain theunderlying cause of this phenomena.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115396926","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Simple and efficient relational querying of software structures","authors":"Dirk Beyer, A. Noack, C. Lewerentz","doi":"10.1109/WCRE.2003.1287252","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287252","url":null,"abstract":"Many analyses of software systems can be formalized asrelational queries, for example the detection of design patterns,of patterns of problematic design, of code clones, ofdead code, and of differences between the as-built and theas-designed architecture. This paper describes the conceptsof CrocoPat, a tool for querying and manipulating relations.CrocoPat is easy to use, because of its simple query andmanipulation language based on predicate calculus, and itssimple file format for relations. CrocoPat is efficient, becauseit internally represents relations as binary decisiondiagrams, a data structure that is well-known as a compactrepresentation of large relations in computer-aided verification.CrocoPat is general, because it manipulates not onlygraphs (i.e. binary relations), but n-ary relations.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"18 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114572113","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Extracting an explicitly data-parallel representation of image-processing programs","authors":"L. Baumstark, M. Guler, L. Wills","doi":"10.1109/WCRE.2003.1287234","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287234","url":null,"abstract":"Our research goal is to retarget image processingprograms written in sequential languages (e.g., C) toarchitectures with data-parallel processing capabilities.Image processing algorithms are often inherently data-parallel,but the artifacts imposed by the sequentialprogramming language (e.g., loops, pointer variables,linear address spaces) can obscure the parallelism andprohibit generation of efficient parallel code. This paperproposes a program representation and pattern-recognitionapproach for generating a data-parallelprogram specification from sequential source code. Therepresentation is based on an extension of the multi-dimensionalsynchronous dataflow (MDSDF) model ofcomputation.Central to extracting this representation from code isunderstanding the mapping between iterations and arrayvariables in the source code and the operations overarray regions (e.g., rows, columns, tiled blocks) that theyimplement. Examples are presented to illustrate thismapping, and a set of patterns for recognizing theseregions are proposed. The correctness of the retargetedMDSDF specifications are validated and the potentialspeedup from parallel execution shown.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"40 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126783704","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Unscheduling, unpredication, unspeculation: reverse engineering itanium executables","authors":"Noah Snavely, S. Debray, G. Andrews","doi":"10.1109/WCRE.2003.1287232","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287232","url":null,"abstract":"EPIC (Explicitly Parallel Instruction Computing) architectures,exemplified by the Intel Itanium, support a numberof advanced architectural features, such as explicitinstruction-level parallelism, instruction predication, andspeculative loads from memory. However, compiler optimizationsto take advantage of such architectural featurescan profoundly restructure the program's code, makingit potentially difficult to reconstruct the original programlogic from an optimized Itanium executable. This paperdescribes techniques to undo some of the effects of suchoptimizations and thereby improve the quality of reverse engineeringsuch executables.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133297827","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Fuzzy extensions for reverse engineering repository models","authors":"Ulrike Kölsch, R. Witte","doi":"10.1109/WCRE.2003.1287242","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287242","url":null,"abstract":"Reverse Engineering is a process fraught with imperfections.The importance of dealing with non-precise, possiblyinconsistent data explicitly when interacting with the reverseengineer has been pointed out before.In this paper, we go one step further: we argue that thecomplete reverse engineering process must be augmentedwith a formal representation model capable of modelingimperfections. This includes automatic as well as human-centeredtools.We show how this can be achieved by merging a fuzzyset-theory based knowledge representation model with a reverseengineering repository. Our approach is not only capableof modeling a wide range of different kinds of imperfections(uncertain as well as vague information), butalso admits robust processing models by defining explicitdegrees of certainty and their modification through fuzzy beliefrevision operators.The repository-centered approch is proposed as the foundationfor a new generation of reverse engineering tools.We show how various RE tasks can benefit from our approachand state first design ideas for fuzzy reverse engineeringtools.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114137525","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Learning from the past","authors":"G. Murphy","doi":"10.1109/WCRE.2003.1287231","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287231","url":null,"abstract":"Software development activities generate a huge number of artifacts: source code, design documents, requirements specifications, email messages, and so on. Many of these artifacts have been revised many times, and most software development teams retain all of the versions of all of the artifacts generated. The stored revisions of all of these artifacts contain a wealth of historical information. Sadly, software developers do not typically consider this historical information when working on the system because pertinent information is difficult to find in the morass of artifacts available, and even when an artifact of interest is found, it can be difficult to assess if the information in the artifact is sufficiently up-todate. In this talk, I will describe two projects we are working on that demonstrate developers can cost-effectively learn from the past of their project. The Hipikat project is developing techniques for collating software development artifacts, and for recommending pertinent artifacts based on the context in which a developer is working. The Concern Graph project is developing an approach and tool to help a developer find and capture scattered, crosscutting concerns in source code that are related to a modification task. The tool supports the later detection and repair of inconsistencies between the captured concern description and a subsequent version of the code base. Used together, these two approaches can add value to program understanding and reverse engineering tools and tasks because the time and effort expended by a developer today can be amortized over subsequent uses of that information by other developers in the future. This work is joint with Davor Cubranic and Martin Robillard.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127614056","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Detecting merging and splitting using origin analysis","authors":"Lijie Zou, Michael W. Godfrey","doi":"10.1109/WCRE.2003.1287245","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287245","url":null,"abstract":"Merging and splittingsource code artifacts is a commonactivity during the lifespan of a software system; as developersrethink the essential structure of a system or plan fora new evolutionary direction, so must they be able to reorganizethe design artifacts at various abstraction levelsas seems appropriate. However, while the raw effects ofsuch changes may be plainly evident in the new artifacts,the original intent of the design changes is often lost. Inthis paper, we discuss how we have extended origin analysis[10, 5] to aid in the detection of merging and splittingof files and functions in procedural code; in particular,we show how reasoning about how call relationships havechanged can aid a developer in locating where merges andsplits have occurred, thereby helping to recover informationabout the intent of the design change. We also describea case study of these techniques (as implemented inthe Beagle tool) using the PostgreSQL database as the candidatesystem.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"125 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124605368","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Revealing class structure with concept lattices","authors":"Uri Dekel, J. Gil","doi":"10.1109/WCRE.2003.1287267","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287267","url":null,"abstract":"This paper promotes the use of a mathematical conceptlattice based upon the binary relation of accesses betweenmethods and fields as a novel visualization of individualJAVA classes. We demonstrate in a detailed real-lifecase study that such a lattice is valuable for reverse-engineeringpurposes, in that it helps reason about the interfaceand structure of the class and find errors in the absenceof source code. Our technique can also serve as aheuristic for automatic feature categorization, enabling itto assist efforts of re-documentation.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"3 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114230616","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Algorithm recognition based on demand-driven data-.ow analysis","authors":"Christophe Alias, Denis Barthou","doi":"10.1109/WCRE.2003.1287260","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287260","url":null,"abstract":"Algorithm recognition is an important problem in programanalysis, optimization, and more particularly programcomprehension. Basically, one would like to submita piece of code, and get an answer like \"Lines 10 to 23 arean implementation of Gauss-Jordan elimination\". Existingapproaches often perform a bottom-up recognition, using adatabase describing many implementation variations of agiven algorithm, in a format making them difficult to maintain.In this paper, we present a new method to recognize algorithmtemplates in a program. We perform a top-downrecognition, stopping at template variables and thus limitingthe need for many program variations. The code toanalyze is given in SSA form, and the phi-functions are computedon-demand, when computation is possible, along thecandidate slices.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"84 2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124289156","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Towards the reverse engineering of UML sequence diagrams","authors":"L. Briand, Y. Labiche, James W. Leduc","doi":"10.1109/WCRE.2003.1287237","DOIUrl":"https://doi.org/10.1109/WCRE.2003.1287237","url":null,"abstract":"The objective of the work reported here is to defineand assess a method to reverse engineer UML sequencediagrams from execution traces. We do so based onformal transformation rules and we reverse engineerdiagrams that show all relevant technical information,including conditions, iterations of messages, and specificobject identities and types being involved in theinteractions. We present the fundamental principles ofour methodology, illustrate it with examples, and validateit through a case study.","PeriodicalId":394906,"journal":{"name":"10th Working Conference on Reverse Engineering, 2003. WCRE 2003. Proceedings.","volume":"26 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116885489","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}