...
Recommendation | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
MEM01-C | High | Unlikely | Yes | Yes | P9 | L2 |
Automated Detection
Tool | Version | Checker | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Astrée |
| Supported: Astrée reports usage of invalid pointers. | |||||||||||||
| Axivion Bauhaus Suite |
| CertC-MEM01 | Fully implemented | ||||||||||||
| Codee | |||||||||||||||
| Include Page | Codee_V | Codee_V | PWR079 PWR080 | Avoid undefined behavior due to uninitialized variables Conditionally initialized variables can lead to undefined behavior | CodeSonar |
| ALLOC.DF | Double free | |||||||
| Compass/ROSE | |||||||||||||||
| USE_AFTER_FREE | Can detect the specific instances where memory is deallocated more than once or read/written to the target of a freed pointer | |||||||||||||
| Helix QAC |
| C3005 | |||||||||||||
| LDRA tool suite |
| 484 S, 112 D | Partially implemented | ||||||||||||
| Parasoft C/C++test |
| CERT_C-MEM01-a | Do not use resources that have been freed | ||||||||||||
| Parasoft Insure++ | Detects dangling pointers at runtime | ||||||||||||||
| CERT C: Rec. MEM01-C | Checks for missing reset of a freed pointer (rec. fully covered) |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...