Infonote | ||
---|---|---|
| ||
This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly. |
Version number:
v5.0
was automatically generated and should not be edited. |
Note |
---|
The information on this page was provided by outside contributors and has not been verified by SEI CERT. |
Tip |
---|
The table below can be re-ordered, by clicking column headers. |
...
Include Page | ||||
---|---|---|---|---|
|
<ac:macro ac:name="info"><ac:parameter ac:name="title">Generated Content</ac:parameter><ac:rich-text-body><p>This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.</p></ac:rich-text-body></ac:macro>
<p>Version number:<br />
v5.0 </p>
<table><tbody>
<tr>
<th><p> C++ checkers </p></th>
<th><p> Rule </p></th>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="ARR01-CPP. Do not apply the sizeof operator to a pointer when taking the size of an array" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="ARR30-CPP. Guarantee that array and vector indices are within the valid range" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="DCL01-CPP. Do not reuse variable names in subscopes" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="DCL04-CPP. Do not declare more than one variable per declaration" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="DCL06-CPP. Use meaningful symbolic constants to represent literal values in program logic" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="EXP00-CPP. Use parentheses for precedence of operation" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="EXP35-CPP. Do not cast away a const qualification" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="EXP36-CPP. Do not convert pointers into more strictly aligned pointer types" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="INT07-CPP. Use only explicitly signed or unsigned char type for numeric values" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="INT09-CPP. Ensure enumeration constants map to unique values" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="MSC30-CPP. Do not use the rand() function for generating pseudorandom numbers" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="PRE01-CPP. Use parentheses within macros around parameter names" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="PRE02-CPP. Macro replacement lists should be parenthesized" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="PRE06-CPP. Enclose header files in an inclusion guard" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="PRE07-CPP. Avoid using repeated question marks" /></ac:link> </p></td>
</tr>
<tr>
<td><p> </p></td>
<td><p> <ac:link><ri:page ri:content-title="STR34-CPP. Cast characters to unsigned types before converting to larger integer sizes" /></ac:link> </p></td>
</tr>
</tbody></table>
...