Roy's Software Tools
Within my research I often run network simulations to examine the performance of a system of interest. Potential problems that arise when running many such simulations include:
- Correct and repeatable configuration of the simulator.
- Tracking which log files are associated with a particular configuration of the simulation.
- Managing multiple side processes that are required for the simulation to properly run.
- Batching multiple tests so that they don't require constant supervision.
To prevent these problems I've developed a basic infrastructure for scripting processes (typically simulations) and managing the data they produce. I haven't yet bothered to provide detailed documentation for the system, but folks may enjoy poking around at its internals. Example scripts using this library are included in the distribution.
Scripted Testing Downloads
A favorite tool of mine is the C Intermediate Language
(CIL) framework. CIL provides the infrastructure for analyzing and
augmenting C code bases. There are multiple ways to use CIL, but my
method of choice is developing stand alone tools that link in the core
of CIL as a library. These tools can then examine preprocessed C files
gcc -E ...) and output analysis results or an
Below is a minimal "Null" transformation. This simply demonstrates how to process command line arguments in OCaml, load a file into CIL, and spit it back out to a file. Hopefully others will find this to be a great jumping off point to learn more about the tool and begin developing their own analysis.