The Community for Technology Leaders
2013 20th Working Conference on Reverse Engineering (WCRE) (2001)
Suttgart, Germany
Oct. 2, 2001 to Oct. 5, 2001
ISSN: 1095-1350
ISBN: 0-7695-1303-4
pp: 3
Volker Riediger , University of Koblenz-Landau
Bernt Kullbach , 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.
Volker Riediger, Bernt Kullbach, "Folding: An Approach to Enable Program Understanding of Preprocessed Languages", 2013 20th Working Conference on Reverse Engineering (WCRE), vol. 00, no. , pp. 3, 2001, doi:10.1109/WCRE.2001.957805
100 ms
(Ver 3.3 (11022016))