...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Astrée |
| alloc-without-sizeof | Partially checked | ||||||
Compass/ROSE | Can detect violations of this recommendation. In particular, it looks for the size argument of | ||||||||
ECLAIR |
| CC2.EXP09 | Can detect violations of this recommendation. In particular, it considers when the size of a type is used by malloc() , calloc() or realloc() and flags these functions if either the size argument does not use a sizeof operator, or the size argument uses sizeof , but the type of the returned value is not a pointer to the type of the argument to sizeof . It does not flag if the returned value is assigned to a char * | ||||||
LDRA tool suite |
| 201 S | Partially implemented | ||||||
| CERT C: Rec. EXP09-C | Checks for hard-coded object size used to manipulate memory (rec. fully covered) | |||||||
RuleChecker |
| alloc-without-sizeof | Partially checked |
...