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

virtual-call-in-constructor
invalid_function_pointer
Fully checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC++-OOP50
Clang
Include Page
Clang_V
Clang_V
clang-analyzer-alpha.cplusplus.VirtualCallChecked by clang-tidy
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

LANG.STRUCT.VCALL_IN_CTOR

LANG.STRUCT.VCALL_IN_DTOR

Virtual Call in Constructor

Virtual Call in Destructor

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C++4260, C++4261, C++4273, C++4274, C++4275, C++4276, C++4277, C++4278, C++4279, C++4280, C++4281, C++4282


Klocwork
Include Page
Klocwork_V
Klocwork_V

CERT.OOP.CTOR.VIRTUAL_FUNC


LDRA tool suite
Include Page
LDRA_V
LDRA_V

467 S, 92 D

Fully implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V

CERT_CPP-OOP50-a
CERT_CPP-OOP50-b
CERT_CPP-OOP50-c
CERT_CPP-OOP50-d

Avoid calling virtual functions from constructors
Avoid calling virtual functions from destructors
Do not use dynamic type of an object under construction
Do not use dynamic type of an object under destruction

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C++: OOP50-CPPChecks for virtual function call from constructors and destructors (rule fully covered)
PRQA QA-C++
Include Page
PRQA QA-C++_VPRQA QA-C++_V

4260, 4261, 4273, 4274,
4275, 4276, 4277, 4278,
4279, 4280, 4281, 4282

PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V1053
RuleChecker
Include Page
RuleChecker_V
RuleChecker_V
virtual-call-in-constructor
Fully checked
SonarQube C/C++ Plugin
Include Page
SonarQube C/C++ Plugin_V
SonarQube C/C++ Plugin_V
S1699

...