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
Clang
Page Information
Title:
Clang
Author:
Aaron Ballman
Dec 17, 2014
Last Changed by:
David Svoboda
Mar 14, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/VtUxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (16)
Page:
ERR34-C. Detect errors when converting a string to a number
Page:
FLP30-C. Do not use floating-point variables as loop counters
Page:
DCL31-C. Declare identifiers before using them
Page:
INT36-C. Converting a pointer to integer or integer to pointer
Page:
MSC30-C. Do not use the rand() function for generating pseudorandom numbers
Page:
MEM34-C. Only free memory allocated dynamically
Page:
STR38-C. Do not confuse narrow and wide character strings and functions
Page:
DCL41-C. Do not declare variables inside a switch statement before the first case label
Page:
EXP44-C. Do not rely on side effects in operands to sizeof, _Alignof, or _Generic
Page:
DCL03-C. Use a static assertion to test the value of a constant expression
Page:
ENV33-C. Do not call system()
Page:
EXP32-C. Do not access a volatile object through a nonvolatile reference
Page:
FIO38-C. Do not copy a FILE object
Page:
STR05-C. Use pointers to const when referring to string literals
Page:
EXP30-C. Do not depend on the order of evaluation for side effects
Page:
EXP45-C. Do not perform assignments in selection statements
Hierarchy
Parent Page
Page:
EE. Analyzers
Labels
Global Labels (1)
analyzer
Recent Changes
Time
Editor
Mar 14, 2025 08:19
David Svoboda
View Changes
Mar 06, 2025 09:03
David Svoboda
View Changes
Feb 24, 2025 02:39
David Svoboda
View Changes
Feb 24, 2025 02:38
David Svoboda
View Changes
Dec 06, 2024 13:00
David Svoboda
View Page History
Outgoing Links
External Links (17)
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…
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…
SEI CERT C Coding Standard (1)
Page:
Clang_V
Overview
Content Tools
{"serverDuration": 71, "requestCorrelationId": "cbe405b3029f7dfd"}