ContentsIndexPreviousNext

3.2.3 Getting Object Information

The cblutil program can also report on information out of the header of an object file or object library. The format for this is:

cblutil  -info  files

Each file is examined to see if it is an object module or object library. If it is an object module, its size and other useful information is printed. If it is an object library, this information is printed for each module it contains.


Note that cblutil will also tell you whether or not the module is in debug-mode. Because programs compiled for source debugging are large, this can be useful to run on a regular basis, to see if you have accidentally left any programs in debug-mode.
For example, the following could be run on a UNIX system every night:

cblutil  -info  /objects/* | grep  "debug"  >  /tmp/debug

This creates a file called "/tmp/debug" that lists every program in the "/objects" directory that is in debug-mode.

The cblutil program will also report whether or not table-boundary checking is enabled in an object file.