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
2 Rules
Rule 03. Expressions (EXP)
EXP40-C. Do not modify constant objects
Page Information
Title:
EXP40-C. Do not modify constant objects
Author:
Admin
Aug 17, 2006
Last Changed by:
Caden Milne
Nov 01, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/EdcxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (3)
Page:
EXP05-C. Do not cast away a const qualification
Page:
STR30-C. Do not attempt to modify string literals
Page:
CC. Undefined Behavior
SEI CERT C++ Coding Standard (1)
Page:
EXP55-CPP. Do not access a cv-qualified object through a cv-unqualified type
Hierarchy
Parent Page
Page:
Rule 03. Expressions (EXP)
Labels
Global Labels (5)
not-for-cpp
android-applicable
ptc
rule
exp
Recent Changes
Time
Editor
Nov 01, 2024 13:20
Caden Milne
View Changes
Updated references from C11->C23
Oct 10, 2024 13:06
Swasti Shrivastava
View Changes
Oct 10, 2024 12:53
Swasti Shrivastava
View Changes
Apr 20, 2023 05:10
Jill Britton
View Changes
Apr 27, 2022 06:05
Jill Britton
View Page History
Outgoing Links
External Links (10)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.mathworks.com/help/bugfinder/ref/certcruleexp40…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://taas.trust-in-soft.com/tsnippet/t/6f85940c
https://wiki.sei.cmu.edu/confluence/display/c/STR30-C.+Do+n…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
https://wiki.sei.cmu.edu/confluence/display/c/EXP05-C.+Do+n…
SEI CERT C Coding Standard (26)
Page:
Cppcheck Premium
Page:
TrustInSoft Analyzer
Page:
Parasoft_V
Page:
STR30-C. Do not attempt to modify string literals
Page:
Axivion Bauhaus Suite
Page:
Polyspace Bug Finder_V
Page:
AA. Bibliography
Page:
LDRA
Page:
Coverity_V
Page:
LDRA_V
Page:
Parasoft
Page:
Coverity
Page:
Astrée
Page:
EXP05-C. Do not cast away a const qualification
Page:
Axivion Bauhaus Suite_V
Page:
RuleChecker_V
Page:
CC. Undefined Behavior
Page:
Helix QAC_V
Page:
Polyspace Bug Finder
Page:
Helix QAC
Page:
TrustInSoft Analyzer_V
Page:
Astrée_V
Page:
BB. Definitions
Home page:
SEI CERT C Coding Standard
Page:
RuleChecker
Page:
Cppcheck Premium_V
Overview
Content Tools
{"serverDuration": 96, "requestCorrelationId": "a4927f92d64a38f0"}