...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
EXP47-C | Medium | Likely | High | P6 | L2 |
Automated Detection
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Axivion Bauhaus Suite |
| CertC-EXP47 | |||||||
Clang |
| -Wvarargs | Can detect some instances of this rule, such as promotable types. Cannot detect mismatched types or incorrect number of variadic arguments. | ||||||
CodeSonar |
| BADMACRO.STDARG_H | Use of <stdarg.h> feature | ||||||
LDRA tool suite |
| 44 S | Enhanced Enforcement | ||||||
Parasoft C/C++test |
| CERT_C-EXP47-a | Do not call va_arg with an argument of the incorrect type | ||||||
R2018a | Data type of variadic function argument does not match type in va_arg call Number of va_arg calls exceeds number of arguments passed to variadic function |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...