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
LDRA
Page Information
Title:
LDRA
Author:
Pranjal Jumde
Oct 09, 2012
Last Changed by:
David Svoboda
Oct 14, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/sns-BQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (38)
Page:
EXP62-CPP. Do not access the bits of an object representation that are not part of the object's value representation
Page:
CTR50-CPP. Guarantee that container indices and iterators are within the valid range
Page:
DCL59-CPP. Do not define an unnamed namespace in a header file
Page:
MEM51-CPP. Properly deallocate dynamically allocated resources
Page:
ERR55-CPP. Honor exception specifications
Page:
ERR57-CPP. Do not leak resources when handling exceptions
Page:
EXP55-CPP. Do not access a cv-qualified object through a cv-unqualified type
Page:
OOP53-CPP. Write constructor member initializers in the canonical order
Page:
EXP57-CPP. Do not cast or delete pointers to incomplete classes
Page:
EXP54-CPP. Do not access an object outside of its lifetime
Page:
DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions
Page:
MEM52-CPP. Detect and handle memory allocation errors
Page:
DCL60-CPP. Obey the one-definition rule
Page:
EXP50-CPP. Do not depend on the order of evaluation for side effects
Page:
ERR50-CPP. Do not abruptly terminate the program
Page:
ERR51-CPP. Handle all exceptions
Page:
CTR55-CPP. Do not use an additive operator on an iterator if the result would overflow
Page:
OOP50-CPP. Do not invoke virtual functions from constructors or destructors
Page:
ERR53-CPP. Do not reference base classes or class data members in a constructor or destructor function-try-block handler
Page:
STR50-CPP. Guarantee that storage for strings has sufficient space for character data and the null terminator
Page:
ERR61-CPP. Catch exceptions by lvalue reference
Page:
DCL53-CPP. Do not write syntactically ambiguous declarations
Page:
MEM50-CPP. Do not access freed memory
Page:
OOP52-CPP. Do not delete a polymorphic object without a virtual destructor
Page:
ERR52-CPP. Do not use setjmp() or longjmp()
Page:
EXP52-CPP. Do not rely on side effects in unevaluated operands
Page:
MSC50-CPP. Do not use std::rand() for generating pseudorandom numbers
Page:
EXP53-CPP. Do not read uninitialized memory
Page:
MEM54-CPP. Provide placement new with properly aligned pointers to sufficient storage capacity
Page:
OOP57-CPP. Prefer special member functions and overloaded operators to C Standard Library functions
Page:
DCL50-CPP. Do not define a C-style variadic function
Page:
ERR56-CPP. Guarantee exception safety
Page:
CTR56-CPP. Do not use pointer arithmetic on polymorphic objects
Page:
ERR54-CPP. Catch handlers should order their parameter types from most derived to least derived
Page:
CTR54-CPP. Do not subtract iterators that do not refer to the same container
Page:
MSC52-CPP. Value-returning functions must return a value from all exit paths
Page:
DCL51-CPP. Do not declare or define a reserved identifier
Page:
DCL56-CPP. Avoid cycles during initialization of static objects
SEI CERT C Coding Standard (1)
Page:
EXP47-C. Do not call va_arg with an argument of the incorrect type
Hierarchy
Parent Page
Page:
CC. Analyzers
Labels
Global Labels (1)
analyzer
Recent Changes
Time
Editor
Oct 14, 2024 07:25
David Svoboda
View Changes
Sep 27, 2023 08:31
David Svoboda
View Changes
Jul 13, 2023 13:35
David Svoboda
View Changes
Jun 06, 2023 12:23
David Svoboda
View Changes
Apr 19, 2023 14:03
David Svoboda
View Page History
Outgoing Links
External Links (38)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C++ Coding Standard (1)
Page:
Ldra_V
Overview
Content Tools
{"serverDuration": 116, "requestCorrelationId": "029eb6cd36dda5d9"}