Previous Up Next

3  Distribution Contents

The file distrib/cil-1.3.6.tar.gz contains the complete source CIL distribution, consisting of the following files:

FilenameDescription
Makefile.inconfigure source for the Makefile that builds CIL
configureThe configure script
configure.inThe autoconf source for configure
config.guess, config.sub, install-shstuff required by configure
 
doc/HTML documentation of the CIL API
obj/Directory that will contain the compiled CIL modules and executables
bin/cilly.inThe configure source for a Perl script that can be invoked with the same arguments as either gcc or Microsoft Visual C and will convert the program to CIL, perform some simple transformations, emit it and compile it as usual.
lib/CompilerStub.pmA Perl class that can be used to write code that impersonates a compiler. cilly uses it.
lib/Merger.pmA subclass of CompilerStub.pm that can be used to merge source files into a single source file.cilly uses it.
bin/patcher.inA Perl script that applies specified patches to standard include files.
 
src/check.ml,mliChecks the well-formedness of a CIL file
src/cil.ml,mliDefinition of CIL abstract syntax and utilities for manipulating it
src/clist.ml,mliUtilities for efficiently managing lists that need to be concatenated often
src/errormsg.ml,mliUtilities for error reporting
src/ext/heapify.mlA CIL transformation that moves array local variables from the stack to the heap
src/ext/logcalls.ml,mliA CIL transformation that logs every function call
src/ext/sfi.mlA CIL transformation that can log every memory read and write
src/frontc/clexer.mllThe lexer
src/frontc/cparser.mlyThe parser
src/frontc/cabs.mlThe abstract syntax
src/frontc/cprint.mlThe pretty printer for CABS
src/frontc/cabs2cil.mlThe elaborator to CIL
src/main.mlThe cilly application
src/pretty.ml,mliUtilities for pretty printing
src/rmtmps.ml,mliA CIL tranformation that removes unused types, variables and inlined functions
src/stats.ml,mliUtilities for maintaining timing statistics
src/testcil.mlA random test of CIL (against the resident C compiler)
src/trace.ml,mliUtilities useful for printing debugging information
 
ocamlutil/Miscellaneous libraries that are not specific to CIL.
ocamlutil/Makefile.ocamlA file that is included by Makefile
ocamlutil/perfcount.cC code that links with src/stats.ml and reads Intel performance counters.
 
obj/@ARCHOS@/feature_config.mlFile generated by the Makefile describing which extra “features” to compile. See Section 5
obj/@ARCHOS@/machdep.mlFile generated by the Makefile containing information about your architecture, such as the size of a pointer
src/machdep.cC program that generates machdep.ml files

Previous Up Next