Union Schemas as a Basis for a C++ Extractor

  • Authors:
  • Thomas R. Dean;Andrew J. Malton;Ric Holt

  • Affiliations:
  • -;-;-

  • Venue:
  • WCRE '01 Proceedings of the Eighth Working Conference on Reverse Engineering (WCRE'01)
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.