Studio:How to generate a preprocessor (.i) file for analysis

From STRIDE Wiki
Revision as of 23:35, 20 August 2009 by Timd (talk | contribs) (Text replace - 'Category:Troubleshooting' to 'Category:Studio:Troubleshooting')
Jump to navigation Jump to search

You can run the preprocessor on one or more header files to generate ".i" files, which can then be used for analysis:

s2scompile --preprocess [options] file 

To do this from within STRIDE Studio, select one or more top-level header files, right-click, and choose Preprocess. A ".i" file will be generated in the project directory.

Only the selected file(s) are preprocessed, and ".i" files generated for them. The workspace macro definitions and include search path affect the preprocessing. Existing database files are not affected by the preprocessing.