...
Recommendation | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
PRE00-C | Medium | Unlikely | No | NoMedium | P4P2 | L3 |
Automated Detection
| Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Astrée |
| macro-function-like | Fully checked | ||||||
| Axivion Bauhaus Suite |
| CertC-PRE00 | |||||||
| CodeSonar |
| LANG.PREPROC.FUNCMACRO | Function-Like Macro | ||||||
| Cppcheck Premium |
| premium-cert-pre00-c | |||||||
| CC2.PRE00 | Fully implemented | |||||||
| Helix QAC |
| C3453 | |||||||
| Klocwork |
| MISRA.DEFINE.FUNC | |||||||
| LDRA tool suite |
| 340 S | Enhanced enforcement | ||||||
| Parasoft C/C++test |
| CERT_C-PRE00-a | A function should be used in preference to a function-like macro | ||||||
| PC-lint Plus |
| 9026 | Assistance provided | ||||||
| Polyspace Bug Finder |
| CERT C: Rec. PRE00-C | Checks for use of function-like macro instead of function (rec. fully covered) | ||||||
| RuleChecker |
| macro-function-like function-like-macro-expansion | Fully checked | ||||||
| SonarQube C/C++ Plugin |
| S960 |
...