4 ms·
> all static analysis rules should be followed to the letter. But all static rules should be carefully reviewed as well. Those who wrote those C rules (proba
by bluGill 5y ago
> all static analysis rules should be followed to the letter.
But all static rules should be carefully reviewed as well. Those who wrote those C rules (probably MIRSA, but there are other sets of rules) have a long list of considerations and whys. Many of the rules of exceptions built in so that they can avoid the problems while allowing the useful case. (Ie no memory allocation EXCEPT at startup)
- davedx 5y agoYes, you're correct of course - choose the right static analysis tools and rulesets for your project. But then follow them strictly if it's safety critical.