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 04. Integers (INT)
INT35-C. Use correct integer precisions
Page Information
Title:
INT35-C. Use correct integer precisions
Author:
David Svoboda
Oct 01, 2013
Last Changed by:
Swasti Shrivastava
Oct 12, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/Q9UxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (4)
Page:
INT32-C. Ensure that operations on signed integers do not result in overflow
Page:
FLP36-C. Preserve precision when converting integral values to floating-point type
Page:
INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
Page:
DCL39-C. Avoid information leakage when passing a structure across a trust boundary
Android (1)
Page:
Applicable in Principle to Android (C Rules/Recomendations)
Hierarchy
Parent Page
Page:
Rule 04. Integers (INT)
Labels
Global Labels (5)
no-autodetect
ptc
rule
int
in-cpp
Recent Changes
Time
Editor
Oct 12, 2024 11:13
Swasti Shrivastava
View Changes
Oct 12, 2024 10:55
Swasti Shrivastava
View Changes
Apr 20, 2023 05:15
Jill Britton
View Changes
May 19, 2022 10:20
Jon O'Donnell
View Changes
Apr 27, 2022 05:51
Jill Britton
View Page History
Outgoing Links
External Links (8)
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://cwe.mitre.org/data/definitions/681.html
https://cwe.mitre.org/data/index.html
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://www.mathworks.com/help/bugfinder/ref/certcruleint35…
SEI CERT C Coding Standard (16)
Page:
Cppcheck Premium_V
Page:
Helix QAC_V
Page:
Astrée_V
Home page:
SEI CERT C Coding Standard
Page:
INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
Page:
Helix QAC
Page:
CodeSonar_V
Page:
Parasoft
Page:
CodeSonar
Page:
Polyspace Bug Finder_V
Page:
DCL03-C. Use a static assertion to test the value of a constant expression
Page:
Astrée
Page:
Cppcheck Premium
Page:
AA. Bibliography
Page:
Parasoft_V
Page:
Polyspace Bug Finder
Overview
Content Tools
{"serverDuration": 62, "requestCorrelationId": "48da3852adb7e815"}