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

static detection of array range errors #148

Open
richfitz opened this issue Jan 29, 2019 · 1 comment
Open

static detection of array range errors #148

richfitz opened this issue Jan 29, 2019 · 1 comment

Comments

@richfitz
Copy link
Member

@richfitz richfitz commented Jan 29, 2019

We've had the bits in place for this for a while but after #139 is done it will be easier:

  • go through all array accesses and find the min/max parts
  • put these into the IR as constraints
  • quite a few of these can be eliminated entirely statically

But we reduce the problem to a preflight check that happens at once per parameter setting action, and we might be able to remove all the "safe mode" bits after that

@richfitz
Copy link
Member Author

@richfitz richfitz commented Mar 15, 2019

tests removed in f689e05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.