mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +00:00
eaedce9a8b
* add test cases Signed-off-by: czechbol <adamludes@gmail.com> * fix bounds check logic Signed-off-by: czechbol <adamludes@gmail.com> * tweak test cases Signed-off-by: czechbol <adamludes@gmail.com> * fix codestyle Signed-off-by: czechbol <adamludes@gmail.com> * improve bounds check logic Signed-off-by: czechbol <adamludes@gmail.com> * max recursion depth Signed-off-by: czechbol <adamludes@gmail.com> * add test case for len function Signed-off-by: czechbol <adamludes@gmail.com> * relax len function bounds checks Co-authored-by: Ben Krieger <ben.krieger@intel.com> * handle cases when convert instruction is after the if blocks Signed-off-by: czechbol <adamludes@gmail.com> * improve range check discovery, add tests Signed-off-by: czechbol <adamludes@gmail.com> * refactor for readability Signed-off-by: czechbol <adamludes@gmail.com> * add cap function test Signed-off-by: czechbol <adamludes@gmail.com> * calculate signed min without throwing overflow warnings Signed-off-by: czechbol <adamludes@gmail.com> * perform bounds checks int size calculations Signed-off-by: czechbol <adamludes@gmail.com> * basic equal operator logic Signed-off-by: czechbol <adamludes@gmail.com> * uintptr -> unsafe.Pointer test case Signed-off-by: czechbol <adamludes@gmail.com> * fix review comments Signed-off-by: czechbol <adamludes@gmail.com> * Rebase and fix go module Change-Id: I8da6495eaaf25b1739389aa98492bd7df338085b Signed-off-by: Cosmin Cojocar <ccojocar@google.com> * fix false positive for negated value Signed-off-by: czechbol <adamludes@gmail.com> * fix range conditions Signed-off-by: czechbol <adamludes@gmail.com> * Ignore the golangci/gosec G115 warning Change-Id: I0db56cb0a5f9ab6e815e2480ec0b66d7061b23d3 Signed-off-by: Cosmin Cojocar <ccojocar@google.com> --------- Signed-off-by: czechbol <adamludes@gmail.com> Signed-off-by: Cosmin Cojocar <ccojocar@google.com> Co-authored-by: Ben Krieger <ben.krieger@intel.com> Co-authored-by: Cosmin Cojocar <ccojocar@google.com>
63 lines
2.6 KiB
Modula-2
63 lines
2.6 KiB
Modula-2
module github.com/securego/gosec/v2
|
|
|
|
require (
|
|
github.com/ccojocar/zxcvbn-go v1.0.2
|
|
github.com/google/generative-ai-go v0.17.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gookit/color v1.5.4
|
|
github.com/lib/pq v1.10.9
|
|
github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5
|
|
github.com/onsi/ginkgo/v2 v2.20.2
|
|
github.com/onsi/gomega v1.34.2
|
|
github.com/stretchr/testify v1.9.0
|
|
golang.org/x/crypto v0.26.0
|
|
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
|
|
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
|
|
golang.org/x/text v0.17.0
|
|
golang.org/x/tools v0.24.0
|
|
google.golang.org/api v0.195.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go v0.115.1 // indirect
|
|
cloud.google.com/go/ai v0.8.0 // indirect
|
|
cloud.google.com/go/auth v0.9.1 // indirect
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
|
|
cloud.google.com/go/compute/metadata v0.5.0 // indirect
|
|
cloud.google.com/go/longrunning v0.5.7 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
|
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 // indirect
|
|
github.com/google/s2a-go v0.1.8 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/stretchr/objx v0.5.2 // indirect
|
|
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
|
|
go.opentelemetry.io/otel v1.26.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.26.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.26.0 // indirect
|
|
golang.org/x/mod v0.20.0 // indirect
|
|
golang.org/x/net v0.28.0 // indirect
|
|
golang.org/x/oauth2 v0.22.0 // indirect
|
|
golang.org/x/sync v0.8.0 // indirect
|
|
golang.org/x/sys v0.24.0 // indirect
|
|
golang.org/x/time v0.6.0 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240725223205-93522f1f2a9f // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240823204242-4ba0660f739c // indirect
|
|
google.golang.org/grpc v1.65.0 // indirect
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
)
|
|
|
|
go 1.22
|
|
|
|
toolchain go1.22.0
|