...
Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| ALLOC.SIZE.ADDOFLOW ALLOC.SIZE.IOFLOW ALLOC.SIZE.MULOFLOW ALLOC.SIZE.SUBUFLOW ALLOC.SIZE.TRUNC IO.TAINT.SIZE MISC.MEM.SIZE.BAD | Addition Overflow of Allocation Size Addition Overflow of Allocation Size Multiplication Overflow of Allocation Size Subtraction Underflow of Allocation Size Truncation of Allocation Size Tainted Allocation Size Unreasonable Size Argument | ||||||
|
| could check violations of this rule by examining the size expression to
| |||||||
| BAD_ALLOC_STRLEN
| Can find instances where string length is miscalculated (length calculated may be one less than intended) for memory allocation purposes. Coverity Prevent cannot discover all violations of this rule, so further verification is necessary Finds memory allocations that are assigned to a pointer that reference objects larger than the allocated block | |||||||
5.0 |
| Can detect violations of this rule with CERT C Rule Pack, except those involving the | |||||||
| 9.1 | INCORRECT.ALLOC_SIZE | ||||||||
| 487 S | Fully implemented | |||||||
| 3.1.1 |
...