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> |
||
---|---|---|
.. | ||
cgo_samples.go | ||
g101_samples.go | ||
g102_samples.go | ||
g103_samples.go | ||
g104_samples.go | ||
g106_samples.go | ||
g107_samples.go | ||
g108_samples.go | ||
g109_samples.go | ||
g110_samples.go | ||
g111_samples.go | ||
g112_samples.go | ||
g113_samples.go | ||
g114_samples.go | ||
g115_samples.go | ||
g201_samples.go | ||
g202_samples.go | ||
g203_samples.go | ||
g204_samples.go | ||
g301_samples.go | ||
g302_samples.go | ||
g303_samples.go | ||
g304_samples.go | ||
g305_samples.go | ||
g306_samples.go | ||
g307_samples.go | ||
g401_samples.go | ||
g402_samples.go | ||
g403_samples.go | ||
g404_samples.go | ||
g405_samples.go | ||
g406_samples.go | ||
g407_samples.go | ||
g501_samples.go | ||
g502_samples.go | ||
g503_samples.go | ||
g504_samples.go | ||
g505_samples.go | ||
g506_samples.go | ||
g507_samples.go | ||
g601_samples.go | ||
g602_samples.go | ||
log.go | ||
pkg.go | ||
sample_types.go | ||
visitor.go |