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:
Jill Britton
Oct 09, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/8NUxBQ
Export As:
Word
·
PDF
Incoming Links
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
SEI CERT Perl Coding Standard (1)
Page:
DCL33-PL. Declare identifiers before using them
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 09, 2023 14:21
Jill Britton
View Changes
Apr 20, 2023 05:05
Jill Britton
View Changes
Apr 27, 2022 07:21
Jill Britton
View Changes
Mar 31, 2022 05:11
Jill Britton
View Changes
Jun 24, 2021 10:38
Svyatoslav Razmyslov
View Page History
Outgoing Links
External Links (14)
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://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 (34)
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:
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": 98, "requestCorrelationId": "32d4330464259fff"}