CWE Rule 562
説明
A function returns the address of a stack variable, which will cause unintended program behavior, typically in the form of a crash.
Polyspace 実装
ルール チェッカーは、"スタック変数へのポインターまたは参照が範囲外" をチェックします。
例
チェック情報
| カテゴリ: Bad Coding Practices |
PQL 名: std.cwe_native.R562 |
バージョン履歴
R2023a で導入