Linter for Go that validates slice/array bounds

https://github.com/morgenm/goboundcheck

cross-posted from: https://infosec.pub/post/244512

This is a linter I wrote for Go that ensures all slice and array bound accesses are validated. Right now, it ensures that all accesses are enclosed within an if-statement that calls cap or len.

Any and all contributions and feature requests are welcome.

4 points · 0 comments · view on lemmy.world

0 Comments

No comments yet.