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)
EXP36-C. Do not cast pointers into more strictly aligned pointer types
Page Information
Title:
EXP36-C. Do not cast pointers into more strictly aligned pointer types
Author:
cjohns
Apr 07, 2007
Last Changed by:
Caden Milne
Oct 31, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/u9UxBQ
Export As:
Word
·
PDF
Incoming Links
Android (1)
Page:
Applicable in Principle to Android (C Rules/Recomendations)
SEI CERT C Coding Standard (4)
Page:
Errata for SEI CERT C Coding Standard (2016 Edition)
Page:
CC. Undefined Behavior
Page:
MEM02-C. Immediately cast the result of a memory allocation function call into a pointer to the allocated type
Page:
DCL11-C. Understand the type issues associated with variadic functions
Hierarchy
Parent Page
Page:
Rule 03. Expressions (EXP)
Labels
Global Labels (10)
ldra
gcc
edg
compass/rose
ptc
rose-complete
conversion
rule
exp
in-cpp
Recent Changes
Time
Editor
Oct 31, 2024 09:14
Caden Milne
View Changes
Updated references from C11->C23
Oct 10, 2024 13:05
Swasti Shrivastava
View Changes
Oct 10, 2024 12:51
Swasti Shrivastava
View Changes
Jun 12, 2023 06:17
Michal Rozenau
View Changes
Parasoft C/C++test 2023.1
Apr 20, 2023 05:09
Jill Britton
View Page History
Outgoing Links
External Links (17)
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://www.mathworks.com/help/bugfinder/ref/certcruleexp36…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://pvs-studio.com/en/docs/warnings/v1032/
https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
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/display/cplusplus/VOID+…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.securecoding.cert.org/confluence/display/c/Kloc…
https://pvs-studio.com/en/docs/warnings/v548/
https://pvs-studio.com/en/docs/warnings/v641/
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
mail-index.netbsd.org/tech-kern/2003/08/11/0001.html
SEI CERT C Coding Standard (34)
Page:
CodeSonar_V
Page:
Parasoft
Page:
RuleChecker
Page:
Axivion Bauhaus Suite_V
Page:
LDRA
Page:
Astrée
Page:
Astrée_V
Page:
GCC_V
Page:
Axivion Bauhaus Suite
Page:
EDG
Page:
ECLAIR
Page:
CodeSonar
Page:
GCC
Page:
Helix QAC
Page:
Klocwork_V
Page:
PVS-Studio_V
Page:
RuleChecker_V
Page:
Parasoft_V
Page:
Coverity_V
Page:
CC. Undefined Behavior
Home page:
SEI CERT C Coding Standard
Page:
Coverity
Page:
Rose
Page:
Polyspace Bug Finder
Page:
LDRA_V
Page:
AA. Bibliography
Page:
PC-lint Plus_V
Page:
Polyspace Bug Finder_V
Page:
Cppcheck Premium_V
Page:
Cppcheck Premium
Page:
PC-lint Plus
Page:
Helix QAC_V
Page:
BB. Definitions
Page:
ECLAIR_V
Overview
Content Tools
{"serverDuration": 85, "requestCorrelationId": "18912bdf5bf2ee23"}