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.
Is there a way to report names of global/static variables?
george_vlasov
Posts: 9 ✭
in C/C++test
Is there a way to report names of namespace scope and translation unit static variables?
0
Best Answer
-
Yes, it is possible to create a rule that display the name of a variable (especially global or static) in output message. You can see MISRA-022 rule, that is an example of such rule.
5
Answers
-
Thank you!
0