prysm-pulse/tools
Preston Van Loon c1197d7881
Add static analysis for unsafe uint casting (#10318)
* Add static analysis for unsafe uint casting

* Fix violations of uintcast

* go mod tidy

* Add exclusion to nogo for darwin build

* Add test for math.Int

* Move some things to const so they are assured not to exceed int64

* Self review

* lint

* fix tests

* fix test

* Add init check for non 64 bit OS

* Move new deps from WORKSPACE to deps.bzl

* fix bazel build for go analysis runs

* Update BUILD.bazel

Remove TODO

* add math.AddInt method

* Add new test casts

* Add case where builtin functions and declared functions are covered

* Fix new findings

* cleanup

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-03-11 09:34:30 +00:00
..
analyzers Add static analysis for unsafe uint casting (#10318) 2022-03-11 09:34:30 +00:00
beacon-fuzz Move Shared Packages into Math/ and IO/ (#9622) 2021-09-17 21:55:24 +00:00
benchmark-files-gen Move slot epoch from core to time pkg (#9714) 2021-09-30 19:00:14 +00:00
blocktree Add static analysis for unsafe uint casting (#10318) 2022-03-11 09:34:30 +00:00
bootnode Unify GenesisValidator(s)Root throughout the codebase (#10230) 2022-02-14 13:34:38 +00:00
cross-toolchain Experimental prototype of Apple M1 processor support (#10192) 2022-02-19 18:17:08 +00:00
enr-calculator Move Shared Packages into Math/ and IO/ (#9622) 2021-09-17 21:55:24 +00:00
eth1exporter Create Runtime Package for Moving Several Packages in Shared/ (#9588) 2021-09-16 09:46:29 +00:00
eth1voting Add static analysis for unsafe uint casting (#10318) 2022-03-11 09:34:30 +00:00
exploredb Add static analysis for unsafe uint casting (#10318) 2022-03-11 09:34:30 +00:00
extractor Create config package for Shared/featureconfig (#9593) 2021-09-15 01:18:39 +00:00
forkchecker Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
genesis-state-gen Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
go Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
gocovmerge Coverage results upload fix for CI (#8255) 2021-01-12 20:12:09 +00:00
http-request-sink Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
interop Rename imported keymanager to local. (#10155) 2022-02-01 19:54:19 +00:00
keystores Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
pcli Integration of Vectorized Sha256 In Prysm (#10166) 2022-02-28 21:56:12 +08:00
replay-http Add Tracing Request Sink to E2E (#9341) 2021-08-11 15:38:00 +00:00
specs-checker Resolve issues with G304 (#10115) 2022-01-21 16:52:31 +00:00
unencrypted-keys-gen Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
build_settings.bzl Add alpine based docker images for validator and beacon chain (#5214) 2020-03-25 19:36:28 -05:00
BUILD.bazel Remove libfuzzer / afl based builds in favor of go 1.18 fuzz testing (#10065) 2022-01-20 04:51:02 +00:00
go_image.bzl Remove old cross compile starlark rules (#5329) 2020-04-07 03:01:20 +00:00
ssz.bzl Fail fast when using old define=ssz=<value> (#9316) 2021-08-02 19:04:30 +00:00
target_migration.bzl Bazel: set alias targets to manual only (#9134) 2021-07-01 14:48:09 +00:00