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
Cppcheck_V
Page Information
Title:
Cppcheck_V
Author:
Robert Seacord
Aug 19, 2014
Last Changed by:
Swasti Shrivastava
Oct 10, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/T9UxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (19)
Page:
EXP12-C. Do not ignore values returned by functions
Page:
DCL30-C. Declare objects with appropriate storage durations
Page:
EXP33-C. Do not read uninitialized memory
Page:
MEM34-C. Only free memory allocated dynamically
Page:
INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
Page:
ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
Page:
ARR36-C. Do not subtract or compare two pointers that do not refer to the same array
Page:
Cppcheck
Page:
MEM31-C. Free dynamically allocated memory when no longer needed
Page:
EXP46-C. Do not use a bitwise operator with a Boolean-like operand
Page:
EXP42-C. Do not compare padding data
Page:
MSC37-C. Ensure that control never reaches the end of a non-void function
Page:
ARR32-C. Ensure size arguments for variable length arrays are in a valid range
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:
EXP34-C. Do not dereference null pointers
Page:
EXP30-C. Do not depend on the order of evaluation for side effects
Page:
INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
Page:
MEM30-C. Do not access freed memory
Page:
PRE30-C. Do not create a universal character name through concatenation
Hierarchy
Parent Page
Page:
EE. Analyzers
Labels
There are no labels assigned to this page.
Recent Changes
Time
Editor
Oct 10, 2024 12:25
Swasti Shrivastava
View Changes
Aug 19, 2014 11:33
Robert Seacord
View Page History
Overview
Content Tools
{"serverDuration": 57, "requestCorrelationId": "1d039751a1d2785e"}