Add array oob checks + improve test handling

This commit is contained in:
0x4261756D
2023-01-11 02:33:30 +01:00
parent 0448b56adf
commit 34f52ae864
6 changed files with 56 additions and 13 deletions

View File

@ -1,4 +1,5 @@
//invalid,Attempted an out of bounds read for array test (5 >= 4) at 5:12:END:
//invalid,Attempted array out-of-bounds access
//:END:
arr test { bool 4 }

View File

@ -1,4 +1,5 @@
//invalid,Attempted an out of bounds write for array test (5 >= 4) at 5:19:END:
//invalid,Attempted array out-of-bounds access
//:END:
arr test { bool 4 }

View File

@ -1,4 +1,5 @@
//invalid,Attempted an out of bounds read for array test (-1 < 0) at 5:13:END:
//invalid,Attempted array out-of-bounds access
//:END:
arr test { bool 4 }

View File

@ -1,4 +1,5 @@
//invalid,Attempted an out of bounds write for array test (-1 < 0) at 5:19:END:
//invalid,Attempted array out-of-bounds access
//:END:
arr test { bool 4 }