DocumentCode
1664915
Title
Preprocessor conditional removal by simple partial evaluation
Author
Baxter, Ira D. ; Mehlich, Michael
fYear
2001
fDate
6/23/1905 12:00:00 AM
Firstpage
281
Lastpage
290
Abstract
Preprocessors with conditionals are often used as software configuration management tools, with preprocessor variables naming configuration aspects. The preprocessor conditionals found in large systems often have complex enabling Boolean equations and nesting. Over long periods, some configuration aspects lose all utility. Removal of all traces of a configuration variable and code dependent on that aspect becomes a significant task if performed manually. An industrial-strength transformation system can remove such configuration aspects in a much shorter period of time, by symbolically simplifying away the configuration aspect. The paper sketches the problem and the required transforms, and discusses a case study involving over a million lines of source code
Keywords
configuration management; partial evaluation (compilers); symbol manipulation; case study; complex enabling Boolean equations; configuration aspect; configuration aspects; configuration variable; industrial-strength transformation system; large systems; preprocessor conditional removal; preprocessor conditionals; preprocessor variables; program transformations; simple partial evaluation; software configuration management tools; source code; symbolic computation; Application software; Automation; Costs; Data preprocessing; Equations; Operating systems; Programming profession; Software libraries; Software systems; World Wide Web;
fLanguage
English
Publisher
ieee
Conference_Titel
Reverse Engineering, 2001. Proceedings. Eighth Working Conference on
Conference_Location
Stuttgart
ISSN
1095-1350
Print_ISBN
0-7695-1303-4
Type
conf
DOI
10.1109/WCRE.2001.957833
Filename
957833
Link To Document