Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C++ Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C++ Coding Standard
3 Back Matter
CC. Analyzers
RuleChecker_V
Page Information
Title:
RuleChecker_V
Author:
Joerg Herter
Aug 24, 2020
Last Changed by:
Alexander Wagner
Nov 29, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/oQA6DQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (31)
Page:
OOP50-CPP. Do not invoke virtual functions from constructors or destructors
Page:
EXP57-CPP. Do not cast or delete pointers to incomplete classes
Page:
MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers
Page:
ERR54-CPP. Catch handlers should order their parameter types from most derived to least derived
Page:
EXP54-CPP. Do not access an object outside of its lifetime
Page:
ERR61-CPP. Catch exceptions by lvalue reference
Page:
MEM57-CPP. Avoid using default operator new for over-aligned types
Page:
DCL59-CPP. Do not define an unnamed namespace in a header file
Page:
STR50-CPP. Guarantee that storage for strings has sufficient space for character data and the null terminator
Page:
DCL51-CPP. Do not declare or define a reserved identifier
Page:
INT50-CPP. Do not cast to an out-of-range enumeration value
Page:
MSC52-CPP. Value-returning functions must return a value from all exit paths
Page:
RuleChecker
Page:
DCL60-CPP. Obey the one-definition rule
Page:
OOP57-CPP. Prefer special member functions and overloaded operators to C Standard Library functions
Page:
EXP53-CPP. Do not read uninitialized memory
Page:
DCL50-CPP. Do not define a C-style variadic function
Page:
DCL54-CPP. Overload allocation and deallocation functions as a pair in the same scope
Page:
EXP52-CPP. Do not rely on side effects in unevaluated operands
Page:
EXP55-CPP. Do not access a cv-qualified object through a cv-unqualified type
Page:
MSC51-CPP. Ensure your random number generator is properly seeded
Page:
ERR55-CPP. Honor exception specifications
Page:
OOP53-CPP. Write constructor member initializers in the canonical order
Page:
DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions
Page:
ERR51-CPP. Handle all exceptions
Page:
ERR52-CPP. Do not use setjmp() or longjmp()
Page:
ERR58-CPP. Handle all exceptions thrown before main() begins executing
Page:
ERR50-CPP. Do not abruptly terminate the program
Page:
ERR53-CPP. Do not reference base classes or class data members in a constructor or destructor function-try-block handler
Page:
MSC53-CPP. Do not return from a function declared [[noreturn]]
Page:
OOP52-CPP. Do not delete a polymorphic object without a virtual destructor
Hierarchy
Parent Page
Page:
CC. Analyzers
Labels
There are no labels assigned to this page.
Recent Changes
Time
Editor
Nov 29, 2022 09:03
Alexander Wagner
View Changes
Oct 09, 2020 08:56
Joerg Herter
View Changes
Aug 24, 2020 08:40
Joerg Herter
View Changes
Aug 24, 2020 08:40
Joerg Herter
View Page History
Overview
Content Tools
{"serverDuration": 84, "requestCorrelationId": "99ff3fe7608cd67e"}