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
4 Back Matter
EE. Analyzers
GCC
Page Information
Title:
GCC
Author:
Astha Singhal
Feb 10, 2012
Last Changed by:
David Svoboda
Sep 27, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/gdUxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (22)
Page:
EXP13-C. Treat relational and equality operators as if they were nonassociative
Page:
PRE07-C. Avoid using repeated question marks
Page:
EXP45-C. Do not perform assignments in selection statements
Page:
EXP36-C. Do not cast pointers into more strictly aligned pointer types
Page:
FIO30-C. Exclude user input from format strings
Page:
MSC07-C. Detect and remove dead code
Page:
DCL31-C. Declare identifiers before using them
Page:
EXP05-C. Do not cast away a const qualification
Page:
STR05-C. Use pointers to const when referring to string literals
Page:
DCL36-C. Do not declare an identifier with conflicting linkage classifications
Page:
EXP30-C. Do not depend on the order of evaluation for side effects
Page:
EXP32-C. Do not access a volatile object through a nonvolatile reference
Page:
EXP33-C. Do not read uninitialized memory
Page:
DCL11-C. Understand the type issues associated with variadic functions
Page:
MSC04-C. Use comments consistently and in a readable fashion
Page:
STR34-C. Cast characters to unsigned char before converting to larger integer sizes
Page:
EXP37-C. Call functions with the correct number and type of arguments
Page:
FIO47-C. Use valid format strings
Page:
EXP16-C. Do not compare function pointers to constant values
Page:
MSC01-C. Strive for logical completeness
Page:
DCL07-C. Include the appropriate type information in function declarators
Page:
MSC12-C. Detect and remove code that has no effect or is never executed
Hierarchy
Parent Page
Page:
EE. Analyzers
Labels
Global Labels (1)
analyzer
Recent Changes
Time
Editor
Sep 27, 2023 08:26
David Svoboda
View Changes
Jul 13, 2023 13:28
David Svoboda
View Changes
Jun 06, 2023 12:24
David Svoboda
View Changes
Apr 19, 2023 14:01
David Svoboda
View Changes
Apr 06, 2023 07:59
David Svoboda
View Page History
Outgoing Links
External Links (29)
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://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Option…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX163
gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX161
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#ind…
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…
gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX139
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:
GCC_V
Overview
Content Tools
{"serverDuration": 67, "requestCorrelationId": "b6a29905b8606812"}