Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to include header files into Static Analysis scan using the C/C++ DTP Engine?

Options
Andrey Madan
Andrey Madan Posts: 388 ✭✭✭

Do I need to include them with "-module . " ?

Is this the recommended approach?

Comments

  • Billy McMullin
    Billy McMullin Posts: 64 admin
    Options

    Yes, the "-module" option will include the header files in the scan. All tested files located in the root directory or its sub-directories will be long to the module. All header files located in the root directory or its sub-directories that are included by the tested source files will also belong to the module and be analyzed with the source files.