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.
Question about "translation unit" in RuleWizard
Best Answer
-
If you want to check whether the same function is called in different translation units, then it is not possible to report such a violation directly from the RuleWizard rule.
You can try to use the RuleWizard rule to collect data from each file / TU (the results can be saved in an external file / files), and then use an external script (e.g. Python Code) to compare the data stored in the files.5
Answers
-
Currently it is not possible. RuleWizard rules can work only for single translation unit scope.
0