| Info | title | Generated Content
|---|
| Note |
This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly. |
...
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 | ||||
|---|---|---|---|---|
|
Checker | Guideline | ||
|---|---|---|---|
| -Wall | MSC02-CPP. Avoid errors of omission | ||
| -Wall | MSC03-CPP. Avoid errors of addition | ||
| -Wall | MSC12-CPP. Detect and remove code that has no effect | ||
| -Wempty-body | MSC03-CPP. Avoid errors of addition | ||
| -Wformat | FIO00-CPP. Take care when creating format strings|||
| -Winvalid-offsetof | EXP59-CPP. Use offsetof() on valid types and members | ||
| -Wparentheses warns if a comparison like x<=y<=z appears. This warning is also enabled by -Wall. | EXP17-CPP. Treat relational and equality operators as if they were nonassociative | ||
| -Wunreachable-code | MSC07-CPP. Detect and remove dead code | ||
| Can detect violation of this recommendation when the -Wtrigraphs flag is used. | PRE07-CPP. Avoid using repeated question marks | ||
| Can detect violations of this recommendation when the -Wall flag is used??? | EXP19-CPP. Do not perform assignments in conditional expressions | Can detect violations of this rule when the -Wcomment flag is used.MSC04 -CPP. Use comments consistently and in a readable fashionCan detect violations of this rule when the -Wsequence-point flag is used | EXP50-CPP. Do not depend on the order of evaluation for side effects |
| Will detect character arrays initialized with string literals that are too long to fit in the array. | STR08-CPP. Do not specify the bound of a character array initialized with a string literal |
...