JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
字体が類似しているため混乱する可能性のある異なる識別子が同一スコープ内に存在します。
| Typographically Ambiguous Characters | Description |
|---|---|
| 0 / O | numeric zero / capital o |
| 1 / I / l | numeric one / capital i / lower case L |
| 2 / Z | numeric two / capital z |
| 5 / S | numeric five / capital s |
| 8 / B | numeric eight / capital b |
| h / n | lower case H / lower case N |
| rn / m | lower case RN / lower case M |
| a..z / A..Z | lower case character / upper case equivalent |
| strA_strB / strAstrB | a string containing an underscore / the equivalent string without the underscore |
| クラス名 | Typographically Ambiguous Identifiers | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 日本語クラス名 | 紛らわしい識別子 | ||||||||||||||||||||||||
| クラス分類 | スタイル (style) | ||||||||||||||||||||||||
| ニーモニック | LANG.ID.AMBIG | ||||||||||||||||||||||||
| カテゴリー |
|
||||||||||||||||||||||||
| 対応言語 | C および C++ で利用可能です。 |
||||||||||||||||||||||||
| 有効/無効設定 | このワーニングクラスのチェックはデフォルトで無効になっており、プロジェクトには非正規の C向けAST
が必要になります。有効にするにはプロジェクト設定ファイル (configuration file) に以下の WARNING_FILTER ルールと
RETAIN_UNNORMALIZED_C_AST 設定を追加してください。
RETAIN_UNNORMALIZED_C_AST = Yes INCREMENTAL_BUILD = No WARNING_FILTER += allow class="Typographically Ambiguous Identifiers" NOTE: このワーニングクラスは、インクリメンタル解析 が有効の場合は検出されません。 |
int a0; int b1; int c2; int d5; int e8; int fh; /* 'Typographically Ambiguous Identifiers' warning issued here */ int myint; double mydouble; int ma; void ID_AMBIG(void){ int aO; /* 'Typographically Ambiguous Identifiers' warning issued here */ int bI; /* 'Typographically Ambiguous Identifiers' warning issued here */ int cZ; /* 'Typographically Ambiguous Identifiers' warning issued here */ float dS; /* 'Typographically Ambiguous Identifiers' warning issued here */ int * eB; /* 'Typographically Ambiguous Identifiers' warning issued here */ int MyInt; /* 'Typographically Ambiguous Identifiers' warning issued here */ double my_double; /* 'Typographically Ambiguous Identifiers' warning issued here */ int rna; /* 'Typographically Ambiguous Identifiers' warning issued here */ int g1; /* locals for fn() are not in scope */ /* ... */ } void fn(void){ int bl; /* 'Typographically Ambiguous Identifiers' warning issued here */ int gl; /* locals for ID_AMBIG() are not in scope */ /* ... */ }
設定ファイルの以下のパラメータがこのワーニングクラスのチェックに影響します。
To report problems with this documentation, please visit https://support.codesecure.com/.