CSI Guide
← Prev Next →

Running CSI


Compiling with CSI

After your build completes, there should be a directory called Release in the root directory of this release. The program csi-cc will run the CSI compiler. It emulates the gcc compiler, and accepts (nearly) all standard gcc command-line flags. New flags add various options for instrumentation. The command
csi-cc --help
gives information about CSI-specific command-line flags.

To run the CSI compiler, you need the following non-standard packages:

To add instrumentation, you need to provide csi-cc with the set of possible tracing variants you desire for each function. The --trace option allows you to specify a file containing tracing schemes; otherwise, csi-cc will prompt you to provide the information via stdin. The tracing schemes page details the format for this data, and provides additional information.

Having problems? See some additional comments.


← Prev Next →