Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

Supported: Astrée reports accesses to freed allocated memory.
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-MEM30Detects memory accesses after its deallocation and double memory deallocations
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

ALLOC.UAF
DYN.ALLOC.UAF

Use after free
Dynamic use after free
Compass/ROSE




Coverity

Include Page
Coverity_V
Coverity_V

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

Klocwork
Include Page
Klocwork_V
Klocwork_V

UFM.DEREF.MIGHT
UFM.DEREF.MUST
UFM.FFM.MIGHT
UFM.FFM.MUST

UFM.RETURN.MIGHT
UFM.RETURN.MUST
UFM.USE.MIGHT
UFM.USE.MUST


LDRA tool suite
Include Page
LDRA_V
LDRA_V

51 D, 484 S, 112 D

Partially implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V

CERT_C-MEM30-a

Do not use resources that have been freed
Parasoft Insure++

Runtime analysis
Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

Deallocation of previously deallocated pointer

Invalid use of standard library string routine

Use of previously freed pointer

MISRA C:2012 Dir 4.13

MISRA C:2012 Rule 18.6

MISRA C:2012 Rule 22.1

MISRA C:2012 Rule 22.2

Memory freed more than once without allocation

Standard library string function called with invalid arguments

Memory accessed after deallocation

Functions which are designed to provide operations on a resource should be called in an appropriate sequence

The address of an object with automatic storage shall not be copied to another object that persists after the first object has ceased to exist

All resources obtained dynamically by means of Standard Library functions shall be explicitly released

A block of memory shall only be freed if it was allocated by means of a Standard Library function

PRQA QA-C++

Include Page
cplusplus:PRQA QA-C++_V
cplusplus:PRQA QA-C++_V

3339, 4303, 4304 
PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V586, V774
Splint
Include Page
Splint_V
Splint_V



TrustInSoft Analyzer

Include Page
TrustInSoft Analyzer_V
TrustInSoft Analyzer_V

Value analysis (-val)

Exhaustively verified
(See one compliant and one non-compliant example interpreted in the simplified on-line version of the tool.)

...