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
3 Recommendations
Rec. 04. Integers (INT)
INT13-C. Use bitwise operators only on unsigned operands
Page Information
Title:
INT13-C. Use bitwise operators only on unsigned operands
Author:
Robert Seacord
Feb 28, 2007
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/9tYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (2)
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:
INT14-C. Avoid performing bitwise and arithmetic operations on the same data
Hierarchy
Parent Page
Page:
Rec. 04. Integers (INT)
Labels
Global Labels (10)
ldra
fortify
compass/rose
splint
android-applicable
exceptions
rose-complete
recommendation
int
cwe-682
Recent Changes
Time
Editor
Apr 20, 2023 06:14
Jill Britton
View Changes
Apr 27, 2022 08:41
Jill Britton
View Changes
Apr 23, 2021 12:29
Jill Britton
View Changes
Apr 21, 2021 05:20
Jill Britton
View Changes
Apr 20, 2021 06:37
Jill Britton
View Page History
Outgoing Links
External Links (10)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/682.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
cwe.mitre.org/
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
https://www.securecoding.cert.org/confluence/display/c/AA.+…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.mathworks.com/help/bugfinder/ref/certcrec.int13…
SEI CERT C Coding Standard (29)
Page:
PC-lint Plus_V
Page:
Helix QAC
Page:
CodeSonar
Page:
LDRA_V
Page:
STR07-C. Use the bounds-checking interfaces for string manipulation
Page:
BB. Definitions
Page:
Splint_V
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:
Astrée
Page:
Klocwork_V
Page:
Parasoft_V
Page:
ECLAIR_V
Page:
Helix QAC_V
Page:
PC-lint Plus
Page:
RuleChecker_V
Page:
Splint
Page:
CodeSonar_V
Home page:
SEI CERT C Coding Standard
Page:
Astrée_V
Page:
Rose
Page:
Parasoft
Page:
Klocwork
Page:
RuleChecker
Page:
Axivion Bauhaus Suite
Page:
Axivion Bauhaus Suite_V
Page:
ECLAIR
Page:
AA. Bibliography
Page:
LDRA
Page:
Polyspace Bug Finder_V
SEI CERT C++ Coding Standard (2)
Page:
VOID INT13-CPP. Use bitwise operators only on unsigned operands
Home page:
SEI CERT C++ Coding Standard
Overview
Content Tools
{"serverDuration": 85, "requestCorrelationId": "6d7de2908db2da45"}