LoginSignup
3
4

More than 5 years have passed since last update.

ランタイムエラーチェック /RTC[cus1] の動作内容

Posted at

実行中に異常を検出する機能を埋め込むためのオプション。

動作
c 小さいデータ型に代入されて情報が失われるときにエラーを出す。intのcharへの代入など。キャストは無関係。ビットマスクされているものはエラーにならない。例:char c = (char)(intVar0 & 0xff)
u 初期化していない変数を使ったらエラーを出す。
s スタックフレームの異常検出。スタックの初期値がゼロ以外の時の異常動作チェック、ローカル変数のオーバラン・アンダラン検出、スタックポインタの破壊の検出
1 suと同じ
3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4