The Instrumenting Tool ctc

Measuring code coverage of a program takes place with an instrumented version of the program. The instrumentation is performed by ctc during compilation.

You can configure which of your source files are instrumented. With default settings, ctc instruments all directly compiled files (*.c, *.cpp), and no included header file.

In real projects, you usually do not call ctc directly, but some build integration like ctclaunch, for example. But ctc is always used for actually instrumenting the source code. Hence it is useful to understand the concepts of ctc.