Parsing minimization when extracting information from code in the presence of conditional compilation

作者: S.S. Some , T.C. Lethbridge

DOI: 10.1109/WPC.1998.693328

关键词: Source codeParsingProgramming languageJust-in-time compilationSoftware maintenanceComputer scienceRule-based machine translationReverse engineeringSoftware systemConditional compilation

摘要: Exploring and understanding a software system requires extracting meaningful information from it. This in turn involves syntactical analysis of source code, an activity that can be complicated by the use conditional compilation. In this paper we discuss difficulties when parsing code with We argue effective way to ensure extraction all file is parse set versions defined then describe heuristic-based approach minimize amount parsing.

参考文章(7)
Kevin Jameson, Multi-Platform Code Management ,(1994)
Hausi A. Müller, Mehmet A. Orgun, Scott R. Tilley, James S. Uhl, A reverse‐engineering approach to subsystem structure identification Journal of Software Maintenance: Research and Practice. ,vol. 5, pp. 181- 204 ,(1993) , 10.1002/SMR.4360050402
P.E. Livadas, D.T. Small, Understanding code containing preprocessor constructs workshop on program comprehension. pp. 89- 97 ,(1994) , 10.1109/WPC.1994.341255
Henry Spencer, Geoff Collyer, #ifdef Considered Harmful, or Portability Experience With C News usenix summer technical conference. ,(1992)
Gregor Snelting, Reengineering of configurations based on mathematical concept analysis ACM Transactions on Software Engineering and Methodology. ,vol. 5, pp. 146- 189 ,(1996) , 10.1145/227607.227613
Robert Kowalski, Steve Smoliar, Logic for problem solving ,(1979)