Abstract :
This paper tries to devise an algorithm for analyzing initializers for C arrays and structures. The CScout refactoring browser is used to look for possible differences between closed and open source code. Unlike the other code bases, Sun´s code didn´t appear to use any exotic compiler extensions, so CScout uncomplainingly devoured one file after the next. Then, after approximately six hours of processing and 80 percent along the way, it reported a syntax error. Most errors encountered when processing C code with CScout are easy to handle. A macro definition is added to simulate a compiler built-in-function.
Keywords :
C language; error handling; macros; program compilers; program control structures; program debugging; software libraries; software maintenance; C arrays; C structures; CScout refactoring browser; closed source code; compiler built-in-function simulation; error handling; macro definition; open source code; program initializer anaysis; Asynchronous communication; Costs; Documentation; Internet telephony; Libraries; Paints; Postal services; Recycling; Wikipedia; Writing; Paper; flow; interruptions; usability;