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

Redesign and reimplement the slice out of bounds check (G602) using SSA code representation #1017

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

ccojocar
Copy link
Member

fixes #1005
fixes #1010

Signed-off-by: Cosmin Cojocar <[email protected]>
Signed-off-by: Cosmin Cojocar <[email protected]>
@ccojocar ccojocar changed the title Redesign and reimplement the slice out of bounds check using SSA code representation Redesign and reimplement the slice out of bounds check (G602) using SSA code representation Sep 20, 2023
@ccojocar ccojocar merged commit 293d887 into securego:master Sep 20, 2023
5 checks passed
Mossman1215 added a commit to GeoNet/Actions that referenced this pull request Oct 30, 2023
fixes faulty slice detection issue
securego/gosec#1017
G602
Mossman1215 added a commit to GeoNet/Actions that referenced this pull request Oct 30, 2023
fixes faulty slice detection issue
securego/gosec#1017
G602
Mossman1215 added a commit to GeoNet/Actions that referenced this pull request Oct 30, 2023
fixes faulty slice detection issue
securego/gosec#1017
G602
Mossman1215 added a commit to GeoNet/Actions that referenced this pull request Oct 30, 2023
fixes faulty slice detection issue
securego/gosec#1017
G602
@ccojocar ccojocar deleted the slice_bounds_ssa branch May 13, 2024 16:17
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

Successfully merging this pull request may close these issues.

Newly introduced G602 rule slows down the execution significantly false positive of g602 with maps
1 participant