...
Tool | Version | Checker | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Astrée |
| Supported: Astrée reports potential runtime errors resulting from invalid pointer arithmetics. | |||||||||||
| CodeSonar |
| LANG.STRUCT.PARITH LANG.MEM.BO | Pointer arithmetic Buffer overrun | ||||||||||
| Helix QAC |
| ||||||||||||
| Klocwork |
| ABV.ITERATOR ABV.GENERAL | |||||||||||
| LDRA tool suite |
| 45 D | Partially implemented | ||||||||||
| Parasoft C/C++test |
| CERT_C-EXP08-a | Pointer arithmetic should not be used | ||||||||||
| Parasoft Insure++ | Runtime analysis | ||||||||||||
| PC-lint Plus |
| 416 | Partially supported | ||||||||||
| Polyspace Bug Finder |
| Checks for:
Rec. fully supported. | |||||||||||
| PRQA QA-C |
| 0488, 2930, 2931, 2932, 2933 | Partially implemented | ||||||||||
| PVS-Studio |
| V503, V520, V574, V600, V613, V619, V620, V643, V650, V687, V769, V1004 | Helix QAC | | Include Page | | Helix QAC_V | Helix QAC_V
How long is 4 yards plus 3 feet? It is obvious from elementary arithmetic that any answer involving 7 is wrong, as the student did not take the units into account. The right method is to convert both numbers to reflect the same units.
...