As far as i understood by quickly reading about it there are no specific rules, the FDA guidelines are more like a quality concept that suggest (among other things) using quality ensurance tools for software development. If i did not find specific FDA rules but there are any, can you provide a link?
Static code analyzers are one type of such tools yes. So using Cppcheck would not be bad.
Cppcheck detects many things, but keep in mind that it is still marked as beeing in development.
One of the newest features is the verification of a part of the MISRA rules, which might be interesting in that case.
Hi,
Is it possible to check FDA rules with Cppcheck?
Thank you in advance.
As far as i understood by quickly reading about it there are no specific rules, the FDA guidelines are more like a quality concept that suggest (among other things) using quality ensurance tools for software development. If i did not find specific FDA rules but there are any, can you provide a link?
Static code analyzers are one type of such tools yes. So using Cppcheck would not be bad.
Cppcheck detects many things, but keep in mind that it is still marked as beeing in development.
One of the newest features is the verification of a part of the MISRA rules, which might be interesting in that case.
For best results use more than one static analyzer, there are many, for example PC-Lint, PVS-Studio, Coverity, Klocwork (which explicitly advertises with FDA "validation": https://www.klocwork.com/products-services/klocwork/detection/fda-software-validation). Just to name a few.