Proceedings Eighth Working Conference on Reverse Engineering (2001)
Oct. 2, 2001 to Oct. 5, 2001
Thomas R. Dean , Queen's University
Andrew J. Malton , University of Waterloo
Ric Holt , University of Waterloo
An extractor is a program which processes source code and outputs facts about the code in a software exchange format (SEF). An SEF can be further specified by a schema, analogous to a schema for a data base. This paper explains how two such schemas can be combined into a union schema as the basis for creating an extractor. We describe the CPPX extractor, which transforms a schema designed as the internals of a compiler (GCC) to a schema designed for software exchange (Datrix). CPPX performs this transformation as a pipelined sequence of sub-transformations. At each stage in the pipeline, the intermediate data conforms to the union of the two schemas.
Reverse Engineering, C++ Schema, Extractor
R. Holt, A. J. Malton and T. R. Dean, "Union Schemas as a Basis for a C++ Extractor," Proceedings Eighth Working Conference on Reverse Engineering(WCRE), Suttgart, Germany, 2001, pp. 59.