Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Parasoft C/C++test 10.4

...

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

Supported, but no explicit checker
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

ALLOC.UAF

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
BD

CERT_C-

RES

MEM30-

FREE

a

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

Detects accessing freed memory at runtimeRuntime 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-C9.1 1769, 1770 
PRQA QA-C++4.2 3339, 4303, 4304 
PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V586, V774
Splint
Include Page
Splint_V
Splint_V



...