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 Recommendations
Rec. 02. Declarations and Initialization (DCL)
DCL00-C. Const-qualify immutable objects
Page Information
Title:
DCL00-C. Const-qualify immutable objects
Author:
Fred Long
Dec 19, 2006
Last Changed by:
Michal Rozenau
Jun 12, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/T9cxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (4)
Page:
DCL06-C. Use meaningful symbolic constants to represent literal values
Page:
STR05-C. Use pointers to const when referring to string literals
Page:
PRE02-C. Macro replacement lists should be parenthesized
Page:
DCL13-C. Declare function parameters that are pointers to values not changed by the function as const
Hierarchy
Parent Page
Page:
Rec. 02. Declarations and Initialization (DCL)
Labels
Global Labels (7)
compass/rose
android-applicable
exceptions
preprocessor
rose-partial
recommendation
dcl
Recent Changes
Time
Editor
Jun 12, 2023 06:15
Michal Rozenau
View Changes
Parasoft C/C++test 2023.1
Apr 20, 2023 05:48
Jill Britton
View Changes
Mar 30, 2023 15:29
Jon O'Donnell
View Changes
Jul 19, 2021 13:38
Anirban Gangopadhyay
View Changes
Apr 23, 2021 08:56
Jill Britton
View Page History
Outgoing Links
External Links (5)
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/display/cplusplus/Polys…
https://www.mathworks.com/help/bugfinder/ref/certcrec.dcl00…
https://www.kb.cert.org/vulnotes/bymetric?searchview&qu…
SEI CERT C++ Coding Standard (2)
Home page:
SEI CERT C++ Coding Standard
Page:
VOID DCL00-CPP. Const-qualify immutable objects
SEI CERT C Coding Standard (26)
Page:
Astrée_V
Home page:
SEI CERT C Coding Standard
Page:
Parasoft
Page:
RuleChecker
Page:
Rose
Page:
CodeSonar_V
Page:
PC-lint Plus
Page:
Parasoft_V
Page:
Astrée
Page:
ECLAIR_V
Page:
EXP05-C. Do not cast away a const qualification
Page:
Helix QAC_V
Page:
RuleChecker_V
Page:
PC-lint Plus_V
Page:
Helix QAC
Page:
CodeSonar
Page:
LDRA_V
Page:
BB. Definitions
Page:
STR05-C. Use pointers to const when referring to string literals
Page:
Axivion Bauhaus Suite
Page:
ECLAIR
Page:
Axivion Bauhaus Suite_V
Page:
Polyspace Bug Finder_V
Page:
AA. Bibliography
Page:
LDRA
Page:
DCL06-C. Use meaningful symbolic constants to represent literal values
Overview
Content Tools
{"serverDuration": 89, "requestCorrelationId": "0f76a4a70519a3f3"}