about summary refs log tree commit diff stats
path: root/313index-bounds-check.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-05-07 18:25:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-05-07 18:25:43 -0700
commite74050ade4ae37f5e2cb2fc09af405dd5f03cd2c (patch)
treeec5ffc0b1dea309446e0e7a923158c7e592ce066 /313index-bounds-check.subx
parent540fd664738dfb45d4373497c4a316828e9b1a33 (diff)
downloadmu-e74050ade4ae37f5e2cb2fc09af405dd5f03cd2c.tar.gz
always check for null in 'get' instructions
Diffstat (limited to '313index-bounds-check.subx')
-rw-r--r--313index-bounds-check.subx3
1 files changed, 3 insertions, 0 deletions
diff --git a/313index-bounds-check.subx b/313index-bounds-check.subx
index 6185e969..de9642fd 100644
--- a/313index-bounds-check.subx
+++ b/313index-bounds-check.subx
@@ -57,3 +57,6 @@ __check-mu-array-bounds:overflow:
       eb/jump loop/disp8
     }
     # never gets here
+
+__mu-abort-null-get-base-address:
+    (abort "null address in 'get'")