2013 20th Working Conference on Reverse Engineering (WCRE) (2001)
Oct. 2, 2001 to Oct. 5, 2001
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