| Include Page |
|---|
| seccode:Secure Coding Space Homepage Notices |
|---|
| seccode:Secure Coding Space Homepage Notices |
|---|
|
The C rules and recommendations in this wiki are a work in progress and reflect the current thinking of the secure coding community. Because this is a development website, many pages are incomplete or contain errors. As rules and recommendations mature, they are published in report or book form as official releases. These releases are issued as dictated by the needs and interests of the secure software development community.
Create a sign-in account if you want to comment on existing content. If you wish to be more involved and directly edit content on the site, you still need an account, but you'll also need to request edit privileges.
Front Matter
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 99 |
|---|
| spaces | @self |
|---|
| showSpace | false |
|---|
| sort | title |
|---|
| reverse | true |
|---|
| cql | label = "front-matter" and space = currentSpace() |
|---|
| labels | +intro |
|---|
|
Rules
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 99 |
|---|
| spaces | @self |
|---|
| showSpace | false |
|---|
| sort | title |
|---|
| cql | label = "rule-list" and space = currentSpace() |
|---|
| labels | +rule-list |
|---|
|
Back Matter
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 99 |
|---|
| spaces | @self |
|---|
| showSpace | false |
|---|
| sort | title |
|---|
| cql | label = "bm" and label != "void" and space = currentSpace() |
|---|
| labels | +bm -void |
|---|
|
Recommendations
| Content by Label |
|---|
| showLabels | false |
|---|
| max | 99 |
|---|
| spaces | @self |
|---|
| showSpace | false |
|---|
| sort | title |
|---|
| cql | label = "recommendation-list" and space = currentSpace() |
|---|
| labels | +recommendation-list |
|---|
|
| Panel |
|---|
| borderColor | #B0B1BA |
|---|
| bgColor | #fafafa |
|---|
| titleColor | #ffffff |
|---|
| borderWidth | 1 |
|---|
| titleBGColor | #B0B1BA |
|---|
| borderStyle | solid |
|---|
| title | CERT manifest files |
|---|
|
As of 9/28/2018, the CERT manifest files are now available for use by static analysis tool developers to test their coverage of (some of the) CERT Secure Coding Rules for C, using many of 61,387 test cases in the Juliet test suite v1.2.
|
| Panel |
|---|
| borderColor | #B0B1BA |
|---|
| bgColor | #fafafa |
|---|
| titleColor | #ffffff |
|---|
| borderWidth | 1 |
|---|
| titleBGColor | #B0B1BA |
|---|
| borderStyle | solid |
|---|
| title | Secure C Coding Books and Downloads |
|---|
|
Image AddedThe CERT C Coding Standard, 2016 Edition provides rules to help programmers ensure that their code complies with the new C11 standard and earlier standards, including C99. It is downloadable as a PDF. (errata) Image AddedSecure Coding in C and C++ identifies the root causes of today's most widespread software vulnerabilities, shows how they can be exploited, reviews the potential consequences, and presents secure alternatives. |
| Panel |
|---|
| borderColor | #B0B1BA |
|---|
| bgColor | #fafafa |
|---|
| titleColor | #ffffff |
|---|
| borderWidth | 1 |
|---|
| titleBGColor | #B0B1BA |
|---|
| borderStyle | solid |
|---|
| title | Source Code Analysis Laboratory (SCALe) |
|---|
|
| SCALe offers conformance testing of C language software systems against the CERT C Secure Coding Standard. |
| Panel |
|---|
| borderColor | #B0B1BA |
|---|
| bgColor | #fafafa |
|---|
| titleColor | #ffffff |
|---|
| borderWidth | 1 |
|---|
| titleBGColor | #B0B1BA |
|---|
| borderStyle | solid |
|---|
| title | Contact Us |
|---|
|
Contact us if you - have questions about the Secure Coding wiki
- have recommendations for standards in development
- want to request privileges to participate in standards development
|
| Panel |
|---|
| borderColor | #B0B1BA |
|---|
| bgColor | #fafafa |
|---|
| titleColor | #ffffff |
|---|
| borderWidth | 1 |
|---|
| titleBGColor | #B0B1BA |
|---|
| borderStyle | solid |
|---|
| title | Thank You! |
|---|
|
We acknowledge the contributions of the following folks , and we look forward to seeing your name here as well. |
00. Declarations and Initialization
01. Expressions
02. Integers
03. Floating Point
04. Arrays
05. Strings
06. Memory Management Functions
07. Formatted IO Functions
08. Miscellaneous
...