Commit 52f5dbf
authored
feat(slice): enhance slice bounds analysis with dynamic bounds handling (#1457)
* feat(slice): enhance slice bounds analysis with dynamic bounds handling
* feat(slice): enhance extractLenBound to support additional offset patterns and improve slice bounds analysis
* golangci-lint run
* Improve G602 slice bounds detection: support 3-index slices and correct capacity tracking
* Support out-of-bounds detection for range loops with offsets1 parent 649e2c8 commit 52f5dbf
2 files changed
Lines changed: 541 additions & 43 deletions
0 commit comments