Creating and Using Build Specification Files

If it is difficult to modify your build process to create a new build configuration, then you may need to create a build specification instead.

A build specification file is a summary that details how your application is built. In particular, it summarizes the steps needed to perform static security analysis and specifies the files to be processed and the compilation options to use. It also describes the pseudo object modules that must be linked to generate the analysis results and the librarian invocations that are needed to combine those pseudo object modules into static link libraries.

The Intel® Compiler provides utility programs to create and execute build specifications. Invoke any of these utilities with the -help switch to get a usage message or with the -version switch to identify the version.

Creating a Build Specification File

There are several ways to create a build specification. They are described here in order of convenience.

Using the Build Specification File

Once you have created a build specification, you can use it to perform static security analysis. Remember to update your build specification each time a file is added or removed from the project or when compilation options change. Otherwise, full analysis of your entire application will not occur.

To perform static security analysis from a build specification, use the following command line utility.

inspxe-runsc -spec-file <build spec> [<options>]

<options> represents additional options to be passed to the compilation (and link) steps.

If no options are specified, the option to enable static security analysis at level 3 is added by default.


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.