diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-07 21:04:45 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-07 21:04:45 -0700 |
commit | 888b4cd8eabff44ad10954f26bd4df4497e28617 (patch) | |
tree | 6e890232896f4cfdaa51fad4bcd25fd981b0ef2a /313index-bounds-check.subx | |
parent | 61a68452ae84df936e1861e65a331959643ae016 (diff) | |
download | mu-888b4cd8eabff44ad10954f26bd4df4497e28617.tar.gz |
always check for null in 'index' instructions
Diffstat (limited to '313index-bounds-check.subx')
-rw-r--r-- | 313index-bounds-check.subx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/313index-bounds-check.subx b/313index-bounds-check.subx index de9642fd..4bc8e12e 100644 --- a/313index-bounds-check.subx +++ b/313index-bounds-check.subx @@ -58,5 +58,8 @@ __check-mu-array-bounds:overflow: } # never gets here +__mu-abort-null-index-base-address: + (abort "null address in 'index'") + __mu-abort-null-get-base-address: (abort "null address in 'get'") |