Software

Collection of small software projects I’ve assembled over the years. I’m slowly populating this as I stumble upon old bundles of source code.

CIL Null Transformation

I’m a sucker for the CIL framework, which is a handy tool for both analysis and transformation of C based programs. My preferred use case is to create a stand alone analysis or transformation using the CIL core as a library linked into my application. CIL and programs using CIL are written using OCaml.

The null transformation is an example of a complete program using CIL that simply loads a preprocessed C program into CIL and spits that program back out. This program is a nice demonstration of a small code base and build system that treats CIL as an external library. I often use this as a base template when starting a larger CIL based project.