...
| Code Block |
|---|
error: too many arguments to function "€⃜foo€˜foo" |
Noncompliant Code Example (Information Outflow)
...
Recommendation | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
DCL20-C | Medium | Probable | Yes | LowYes | P12 | L1 |
Automated Detection
Tool | Version | Checker | Description | ||||||||||
| Astrée |
| empty-parameter-list | Fully checked | ||||||||||
| Axivion Bauhaus Suite |
| CertC-DCL20 | |||||||||||
| CodeSonar |
| LANG.FUNCS.PROT | Incomplete function prototype | ||||||||||
| Helix QAC |
| C3001, C3007 | |||||||||||
| Klocwork |
| MISRA.FUNC.NO_PARAMS | |||||||||||
| LDRA tool suite |
| 63 S | Fully Implemented | ||||||||||
| Parasoft C/C++test |
| CERT_C-DCL20-a | The number of arguments passed to a function shall match the number of parametersPolyspace Bug Finder | ||||||||||
| PC-lint Plus |
| Polyspace Bug Finder
| Polyspace Bug Finder
| MISRA C:2012 Rule 8.2 | Function types shall be in prototype form with named parameters937 | Partially supported | |||||||
| RuleChecker |
| empty-parameter-list | Fully checked | ||||||||||
| SonarQube C/C++ Plugin |
| S929 |
...