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

feat: Slice Out-of-Bound Check #40

Merged
merged 3 commits into from
Jul 31, 2024
Merged

feat: Slice Out-of-Bound Check #40

merged 3 commits into from
Jul 31, 2024

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Jul 31, 2024

Description

Added detect potential slice boundary violations lint

  • Inspect index accesses to slices or arrays and slice expressions
  • Detect potentially dangerous accesses without boundary checks

@notJoon notJoon changed the title feat: Bound Check Elimination feat: Slice Bound Check Jul 31, 2024
@notJoon notJoon changed the title feat: Slice Bound Check feat: Slice Out-of-Bound Check Jul 31, 2024
@notJoon notJoon added the A-lint Adding or updating lint label Jul 31, 2024
@notJoon notJoon marked this pull request as ready for review July 31, 2024 08:54
@notJoon notJoon merged commit 305fd15 into main Jul 31, 2024
3 checks passed
@notJoon notJoon deleted the slice-bound branch July 31, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Adding or updating lint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant