Proceedings Eighth Working Conference on Reverse Engineering (2001)
Oct. 2, 2001 to Oct. 5, 2001
Rudolf Ferenc , University of Szeged
Tibor Gyimóthy , University of Szeged
Susan Elliott Sim , University of Toronto
Richard C. Holt , University of Waterloo
Rainer Koschke , Universit?t Stuttgart
Developing a standard schema at the abstract syntax tree level for C/C++ to be used by reverse engineering and reengineering tools is a complex and difficult problem. In this paper, we present a catalogue of issues that need to be considered in order to design a solution. Three categories of issues are discussed. Lexical structure is the first category and pertains to characteristics of the source code, such as spaces and comments. The second category, syntax, includes both the mundane and hard problems in the C++ programming language. The final category is semantics and covers aspects such as naming and reference resolution. Example solutions to these challenges are provided from the Datrix schema from Bell Canada and the Columbus schema from University of Szeged. The paper concludes with a discussion of lessons learnt and plans for future work on a C/C++ AST standard schema.
Standard exchange format, C/C++ schema, GXL, parser, extractor, front end, AST, reverse engineering, Datrix, Columbus
T. Gyimóthy, R. Ferenc, S. E. Sim, R. Koschke and R. C. Holt, "Towards a Standard Schema for C/C++," Proceedings Eighth Working Conference on Reverse Engineering(WCRE), Suttgart, Germany, 2001, pp. 49.