The Community for Technology Leaders
Proceedings Eighth Working Conference on Reverse Engineering (2001)
Suttgart, Germany
Oct. 2, 2001 to Oct. 5, 2001
ISSN: 1095-1350
ISBN: 0-7695-1303-4
pp: 3
Bernt Kullbach , University of Koblenz-Landau
Volker Riediger , University of Koblenz-Landau
Since the early days of programming, preprocessors have been used to increase the expressiveness of programming languages. As a prominent example, the C Preprocessor cpp even allows low level configuration management through conditional compilation. But preprocessors significantly complicate the task of program understanding because "what the user sees is not what the compiler gets". There is a need for bridging the gap between preprocessor input and preprocessor output.In this paper, we propose to use folding for explicitly representing preprocessor replacements within a program understanding environment. The approach presented here has been implemented as part of the GUPRO program understanding workbench. The user is enabled to individually choose the level of detail from the programmer's view to the compiler's view on the source code.

V. Riediger and B. Kullbach, "Folding: An Approach to Enable Program Understanding of Preprocessed Languages," Proceedings Eighth Working Conference on Reverse Engineering(WCRE), Suttgart, Germany, 2001, pp. 3.
94 ms
(Ver 3.3 (11022016))