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 02. Declarations and Initialization (DCL)
DCL31-C. Declare identifiers before using them
Page Information
Title:
DCL31-C. Declare identifiers before using them
Author:
Robert Seacord
Mar 14, 2008
Last Changed by:
Caden Milne
Oct 18, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/8NUxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Perl Coding Standard (1)
Page:
DCL33-PL. Declare identifiers before using them
SEI CERT C Coding Standard (2)
Page:
CC. Undefined Behavior
Page:
MEM02-C. Immediately cast the result of a memory allocation function call into a pointer to the allocated type
Hierarchy
Parent Page
Page:
Rule 02. Declarations and Initialization (DCL)
Labels
Global Labels (12)
not-for-cpp
gcc
compass/rose
code-defect
android-applicable
ptc
rose-gcc
conversion
integer
rule
dcl
klocwork
Recent Changes
Time
Editor
Oct 18, 2024 13:43
Caden Milne
View Changes
Changed C24 -> C23
Oct 18, 2024 13:42
Caden Milne
View Changes
Updated reference from C11->C24.
Sep 19, 2024 13:06
Swasti Shrivastava
View Changes
Sep 14, 2024 05:16
Swasti Shrivastava
View Changes
Oct 09, 2023 14:21
Jill Britton
View Page History
Outgoing Links
External Links (15)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/PVS-S…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.mathworks.com/help/bugfinder/ref/certcruledcl31…
https://wiki.sei.cmu.edu/confluence/display/c/DCL07-C.+Incl…
https://wiki.sei.cmu.edu/confluence/display/c/Cppcheck+Prem…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://pvs-studio.com/en/docs/warnings/v1031/
SEI CERT C Coding Standard (35)
Page:
Clang
Page:
AA. Bibliography
Page:
TrustInSoft Analyzer
Page:
Coverity_V
Page:
Rose
Page:
Coverity
Page:
BB. Definitions
Page:
Klocwork
Page:
LDRA_V
Page:
Helix QAC_V
Page:
ECLAIR_V
Page:
DCL07-C. Include the appropriate type information in function declarators
Page:
PC-lint Plus_V
Page:
TrustInSoft Analyzer_V
Page:
Cppcheck Premium_V
Page:
Axivion Bauhaus Suite
Page:
PC-lint Plus
Page:
Polyspace Bug Finder_V
Page:
Klocwork_V
Page:
LDRA
Page:
Parasoft_V
Page:
Astrée
Page:
Parasoft
Page:
Clang_V
Page:
PVS-Studio_V
Page:
GCC_V
Page:
Axivion Bauhaus Suite_V
Page:
GCC
Page:
RuleChecker_V
Page:
Polyspace Bug Finder
Page:
ECLAIR
Page:
Helix QAC
Home page:
SEI CERT C Coding Standard
Page:
Astrée_V
Page:
RuleChecker
Overview
Content Tools
{"serverDuration": 122, "requestCorrelationId": "9306c0dc9a94f91e"}