Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement error on out of bounds array access. #33

Open
flagxor opened this issue Sep 24, 2018 · 0 comments
Open

Implement error on out of bounds array access. #33

flagxor opened this issue Sep 24, 2018 · 0 comments
Assignees

Comments

@flagxor
Copy link
Collaborator

flagxor commented Sep 24, 2018

In transitioning to a single buffer for arrays, it became possible to access out of bounds (and into adjacent memory).
For correct behavior we need to do a bounds check and error.
This might adversely effect some programs that need performance, like the Nike Hercules simulator, so should be done carefully (maybe add an option to turn off the checks).

@flagxor flagxor self-assigned this Sep 24, 2018
@flagxor flagxor changed the title Implement error on out of bounds. Implement error on out of bounds array access. Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant