check array bounds #134
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#134
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently out of bounds accesses just return bogus data or could even corrupt memory.
Things related to the slice also needs these array bounds checks.. I am not sure.. should this be implemented after the exception since array bound cannot be easily checked statically?
Well, generally speaking they cannot be checked statically at all.
Yes raising an exception would be a correct thing to do.
Broken on x86_64 (
"target": "host"
):Ah, yes, forgot to do sext.