ISO/IEC TS 17961 [sizeofptr]
Taking the size of a pointer to determine the size of the pointed-to type
説明
ルール定義
ポインターが指している型のサイズを決定するためにポインターのサイズを取得。1
Polyspace 実装
このチェッカーは、sizeof を誤って使用している可能性がありますをチェックします。
例
チェック情報
| 決定可能性:決定可能 |
バージョン履歴
R2019a で導入
1 Extracts from the standard "ISO/IEC TS 17961 Technical Specification - 2013-11-15" are reproduced with the agreement of AFNOR. Only the original and complete text of the standard, as published by AFNOR Editions - accessible via the website www.boutique.afnor.org - has normative value.