How to deal with Polyspace BugFinder and software variants?

3 views (last 30 days)
I want to analyze software which can be build in different variants. These variants are defined by compiler flags.
To analyze all of these variants, I configured one Polyspace project each, which leads to a lot of overhead. Is there any better solution to deal with this?

Answers (1)

Anirban
Anirban on 23 Aug 2023
You can create multiple configurations in the same project, like this:
In the Polyspace user interface, you can right-click a configuration, select Copy Configuration to and copy to the same module. Then, in the new configuration, you can change the options that are different for the software variant that you want to analyze. Alternatively, you can also right-click and select Create New Configuration to create a configuration from scratch and add options.
You can rename configurations with a right-click option to remember which configuration represents which software variant.

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!