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

From STRIDE Wiki
Jump to navigation Jump to search

Preprocessing individual files

You can run the preprocessor on one or more header files to generate ".i" files, which can then be used for analysis. To do this from within 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 macro definitions and include search path apply to the preprocessing. The preprocessing has no effect on existing database (.sidb) files.
Note: The #include <stdarg.h> will require the workspace to have a valid path to this file (usually to the Microsoft C includes directory).